=> {
- const target = e.target as HTMLInputElement;
- const file = target.files && target.files[0];
- /* istanbul ignore else */
- if (file)
- setFormState({
- ...formState,
- image: await convertToBase64(file),
- });
- }}
- data-testid="organisationImage"
- />
-
-
-
-
-
- {t('OR')}
-
- {userData &&
- ((userData.user.userType === 'ADMIN' &&
- userData.user.adminFor.length > 0) ||
- userData.user.userType === 'SUPERADMIN') && (
-
-
-
- )}
-
-