clean up code after fixes

pull/1344/head
Joseph Izang 4 years ago
parent 5a5afac88d
commit ac293500b4
  1. 2
      libs/remix-ui/plugin-manager/src/lib/components/LocalPluginForm.tsx
  2. 10
      libs/remix-ui/plugin-manager/src/lib/components/rootView.tsx

@ -50,8 +50,6 @@ function LocalPluginForm ({ closeModal, visible, pluginManager }: LocalPluginFor
}
if (!location) throw new Error('Plugin should have a location')
if (!url) throw new Error('Plugin should have an URL')
// eslint-disable-next-line no-debugger
debugger
const newMethods = typeof methods === 'string' ? methods.split(',').filter(val => val) : []
const targetPlugin = {
name: name,

@ -5,16 +5,6 @@ import PermisssionsSettings from './permissions/permissionsSettings'
import { Profile } from '@remixproject/plugin-utils'
import LocalPluginForm from './LocalPluginForm'
// const initialState: FormStateProps = {
// name: 'test',
// displayName: 'test',
// url: '',
// type: 'iframe',
// hash: '',
// methods: 'test',
// location: 'sidePanel'
// }
interface RootViewProps {
pluginComponent: PluginManagerComponent
children: ReactNode

Loading…
Cancel
Save