From 86bf824ca1f2be116990112bd26cf92177d1aac6 Mon Sep 17 00:00:00 2001 From: Toby Drane Date: Thu, 19 Oct 2023 09:19:10 +0100 Subject: [PATCH] fix ui build --- ui/src/pages/subject/delete/index.tsx | 2 +- ui/src/pages/subject/modify/index.tsx | 2 +- ui/src/{pages/subject/utils.ts => utils/subject.ts} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename ui/src/{pages/subject/utils.ts => utils/subject.ts} (100%) diff --git a/ui/src/pages/subject/delete/index.tsx b/ui/src/pages/subject/delete/index.tsx index f08cf02..dceb9ed 100644 --- a/ui/src/pages/subject/delete/index.tsx +++ b/ui/src/pages/subject/delete/index.tsx @@ -8,7 +8,7 @@ import { Typography } from '@mui/material' import { useMutation, useQuery } from '@tanstack/react-query' -import { filterSubjectList } from '@/pages/subject/utils' +import { filterSubjectList } from '@/utils/subject' import { useEffect, useState } from 'react' import { FilteredSubjectList } from '@/service/types' import { deleteUser as deleteUserFn, deleteClient as deleteClientFn } from '@/service' diff --git a/ui/src/pages/subject/modify/index.tsx b/ui/src/pages/subject/modify/index.tsx index 889e31c..3096fc5 100644 --- a/ui/src/pages/subject/modify/index.tsx +++ b/ui/src/pages/subject/modify/index.tsx @@ -7,7 +7,7 @@ import { FormControl, Typography, LinearProgress } from '@mui/material' import { useQuery } from '@tanstack/react-query' import { useRouter } from 'next/router' import { useEffect, useState } from 'react' -import { filterSubjectList } from '@/pages/subject/utils' +import { filterSubjectList } from '@/utils/subject' function SubjectModifyPage() { const router = useRouter() diff --git a/ui/src/pages/subject/utils.ts b/ui/src/utils/subject.ts similarity index 100% rename from ui/src/pages/subject/utils.ts rename to ui/src/utils/subject.ts