Browse Source

remove unnecessary toString

Futa Arai 2 years ago
parent
commit
78c06dc307
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/app/src/components/Admin/UserGroup/UserGroupDeleteModal.tsx

+ 1 - 1
apps/app/src/components/Admin/UserGroup/UserGroupDeleteModal.tsx

@@ -124,7 +124,7 @@ export const UserGroupDeleteModal: FC<Props> = (props: Props) => {
         name="actionName"
         className="form-control"
         placeholder="select"
-        value={actionName?.toString() ?? ''}
+        value={actionName ?? ''}
         onChange={handleActionChange}
       >
         <option value="" disabled>{t('admin:user_group_management.delete_modal.dropdown_desc')}</option>