From 12b7feb2f57b884f5fc822ca608573454bdcac8e Mon Sep 17 00:00:00 2001 From: joseph izang Date: Mon, 16 Aug 2021 14:32:12 +0100 Subject: [PATCH] more clean up --- .../src/lib/components/ActivePluginCard.tsx | 20 +----------- .../components/ActivePluginCardContainer.tsx | 13 +------- .../src/lib/components/InactivePluginCard.tsx | 13 +------- .../InactivePluginCardContainer.tsx | 25 ++------------- .../src/lib/components/LocalPluginForm.tsx | 3 +- .../src/lib/components/rootView.tsx | 3 -- .../src/lib/remix-ui-plugin-manager.tsx | 31 +------------------ .../src/pluginManagerStateMachine.ts | 2 -- 8 files changed, 8 insertions(+), 102 deletions(-) diff --git a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx index 8f25dc7c3e..de6fb7bfd1 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx @@ -1,26 +1,15 @@ -/* eslint-disable no-debugger */ -import { Profile } from '@remixproject/plugin-utils' -import React, { Dispatch, useState } from 'react' +import React from 'react' import '../remix-ui-plugin-manager.css' -import * as _ from 'lodash' interface PluginCardProps { - // profile: Profile & { - // icon?: string - // } profile: any buttonText: string deactivatePlugin: (pluginName: string) => void - // setActivePlugins: Dispatch[]>> - // activePlugins: Profile[] } -// eslint-disable-next-line no-empty-pattern function ActivePluginCard ({ profile, buttonText, deactivatePlugin - // activePlugins, - // setActivePlugins }: PluginCardProps) { return (
@@ -44,13 +33,6 @@ function ActivePluginCard ({ {