soumaeda 2 лет назад
Родитель
Сommit
191c5c965f

+ 0 - 9
apps/app/src/features/growi-plugin/client/components/Admin/PluginsExtensionPageContents/PluginDeleteModal.tsx

@@ -23,9 +23,6 @@ export const PluginDeleteModal = (props: PluginDeleteModalProps): JSX.Element =>
   const { t } = useTranslation('admin');
   const { t } = useTranslation('admin');
 
 
   const headerContent = () => {
   const headerContent = () => {
-    if (isShown === false) {
-      return <></>;
-    }
     return (
     return (
       <span>
       <span>
         {t('plugins.confirm')}
         {t('plugins.confirm')}
@@ -34,9 +31,6 @@ export const PluginDeleteModal = (props: PluginDeleteModalProps): JSX.Element =>
   };
   };
 
 
   const bodyContent = () => {
   const bodyContent = () => {
-    if (isShown === false) {
-      return <></>;
-    }
 
 
     return (
     return (
       <div className="card well comment-body mt-2 p-2">
       <div className="card well comment-body mt-2 p-2">
@@ -46,9 +40,6 @@ export const PluginDeleteModal = (props: PluginDeleteModalProps): JSX.Element =>
   };
   };
 
 
   const footerContent = () => {
   const footerContent = () => {
-    if (isShown === false) {
-      return <></>;
-    }
     return (
     return (
       <>
       <>
         <Button color="danger" onClick={confirmToDelete}>
         <Button color="danger" onClick={confirmToDelete}>