From 4ae0315f5c9d1df331f28600d096f97a23da1d31 Mon Sep 17 00:00:00 2001 From: rtrembecky Date: Sat, 9 Dec 2023 11:19:15 +0100 Subject: [PATCH] remove unnecessary boolean pages --- .../Admin/resources/base/flat-page/FlatpageList.tsx | 4 +--- .../Admin/resources/base/flat-page/FlatpageShow.tsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/Admin/resources/base/flat-page/FlatpageList.tsx b/src/components/Admin/resources/base/flat-page/FlatpageList.tsx index bc27333d..c0245ddc 100644 --- a/src/components/Admin/resources/base/flat-page/FlatpageList.tsx +++ b/src/components/Admin/resources/base/flat-page/FlatpageList.tsx @@ -1,5 +1,5 @@ import {FC} from 'react' -import {BooleanField, Datagrid, List, NumberField, TextField} from 'react-admin' +import {Datagrid, List, NumberField, TextField} from 'react-admin' import {SitesArrayField} from '@/components/Admin/custom/SitesArrayField' import {TruncatedTextField} from '@/components/Admin/custom/TruncatedTextField' @@ -11,8 +11,6 @@ export const FlatpageList: FC = () => ( - - diff --git a/src/components/Admin/resources/base/flat-page/FlatpageShow.tsx b/src/components/Admin/resources/base/flat-page/FlatpageShow.tsx index c77e1bc9..1e4a6b1f 100644 --- a/src/components/Admin/resources/base/flat-page/FlatpageShow.tsx +++ b/src/components/Admin/resources/base/flat-page/FlatpageShow.tsx @@ -1,5 +1,5 @@ import {FC} from 'react' -import {BooleanField, NumberField, Show, SimpleShowLayout, TextField} from 'react-admin' +import {NumberField, Show, SimpleShowLayout, TextField} from 'react-admin' import {MyShowActions} from '@/components/Admin/custom/MyShowActions' import {SitesArrayField} from '@/components/Admin/custom/SitesArrayField' @@ -12,8 +12,6 @@ export const FlatpageShow: FC = () => ( - -