From 6d949bcab9e1139cab3b35090350bce8055c70a8 Mon Sep 17 00:00:00 2001 From: hiroshi Date: Thu, 8 Sep 2022 18:07:13 +0900 Subject: [PATCH] remove mfs flag --- src/app/components/TokenSetSelector.tsx | 30 +++++++------------------ 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/src/app/components/TokenSetSelector.tsx b/src/app/components/TokenSetSelector.tsx index d361e4160..d8aa00c89 100644 --- a/src/app/components/TokenSetSelector.tsx +++ b/src/app/components/TokenSetSelector.tsx @@ -11,12 +11,10 @@ import Modal from './Modal'; import TokenSetTree from './TokenSetTree'; import Box from './Box'; import { styled } from '@/stitches.config'; -import TokenSetList from './TokenSetList'; import { editProhibitedSelector, tokensSelector, } from '@/selectors'; import Stack from './Stack'; -import { useIsGitMultiFileEnabled } from '../hooks/useIsGitMultiFileEnabled'; const StyledButton = styled('button', { flexShrink: 0, @@ -37,7 +35,6 @@ const StyledButton = styled('button', { export default function TokenSetSelector({ saveScrollPositionSet } : { saveScrollPositionSet: (tokenSet: string) => void }) { const tokens = useSelector(tokensSelector); const editProhibited = useSelector(editProhibitedSelector); - const mfsEnabled = useIsGitMultiFileEnabled(); const dispatch = useDispatch(); const { confirm } = useConfirm(); @@ -144,25 +141,14 @@ export default function TokenSetSelector({ saveScrollPositionSet } : { saveScrol }} className="content" > - {mfsEnabled ? ( - - ) : ( - - )} +