Fix: 이미지 업로드 테스트 페이지 제거

This commit is contained in:
jhynsoo 2024-09-24 11:22:55 +09:00
parent 6eeb2ee30f
commit dd36acb3a0
2 changed files with 0 additions and 22 deletions

View File

@ -1,16 +0,0 @@
import WorkspaceDropdownMenu from '@/components/WorkspaceDropdownMenu';
import { useParams } from 'react-router-dom';
export default function ImageFolderUploadTest() {
const params = useParams<{ workspaceId: string; projectId: string }>();
const projectId = Number(params.projectId);
return (
<div className="min-h-screen w-full">
<WorkspaceDropdownMenu
projectId={projectId}
folderId={0}
/>
</div>
);
}

View File

@ -16,7 +16,6 @@ import WorkspaceBrowseIndex from '@/pages/WorkspaceBrowseIndex';
import AdminIndex from '@/pages/AdminIndex'; import AdminIndex from '@/pages/AdminIndex';
import LabelCanvas from '@/pages/LabelCanvas'; import LabelCanvas from '@/pages/LabelCanvas';
import ReviewDetail from '@/pages/ReviewDetail'; import ReviewDetail from '@/pages/ReviewDetail';
import ImageFolderUploadTest from '@/pages/ImageFolderUploadTest';
import NotFound from '@/pages/NotFound'; import NotFound from '@/pages/NotFound';
import ModelManage from '@/pages/ModelManage'; import ModelManage from '@/pages/ModelManage';
import ReviewRequest from '@/pages/ReviewRequest'; import ReviewRequest from '@/pages/ReviewRequest';
@ -26,7 +25,6 @@ export const webPath = {
workspace: () => '/workspace', workspace: () => '/workspace',
admin: () => `/admin`, admin: () => `/admin`,
oauthCallback: () => '/redirect/oauth2', oauthCallback: () => '/redirect/oauth2',
imageFolderUploadTest: () => '/imagefolderuploadtest',
}; };
const router = createBrowserRouter([ const router = createBrowserRouter([
@ -147,10 +145,6 @@ const router = createBrowserRouter([
</Suspense> </Suspense>
), ),
}, },
{
path: `${webPath.imageFolderUploadTest()}/:projectId`,
element: <ImageFolderUploadTest />,
},
]); ]);
export default router; export default router;