diff --git a/libs/remix-ui/plugin-manager/src/lib/components/permissionsSettings.tsx b/libs/remix-ui/plugin-manager/src/lib/components/permissionsSettings.tsx index 9cc5a99359..877c087846 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/permissionsSettings.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/permissionsSettings.tsx @@ -1,5 +1,5 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -import React, { Fragment, useCallback, useEffect, useState } from 'react' +import React, { Fragment, useEffect, useState } from 'react' /* eslint-disable-line */ import { ModalDialog } from '@remix-ui/modal-dialog' import { useLocalStorage } from '../custom-hooks/useLocalStorage' @@ -14,8 +14,6 @@ function PermisssionsSettings ({ pluginSettings }: PermissionSettingsProps) { * Declare component local state */ const [modalVisibility, setModalVisibility] = useState(true) - // const [permissions] = useState( - // JSON.parse(localStorage.getItem('plugins/permissions') || '{}')) const [permissions, setPermissions] = useLocalStorage('plugins/permissions', '{}') const closeModal = () => setModalVisibility(true)