Skip to content

Commit

Permalink
feat: ✨ 去除测试代码
Browse files Browse the repository at this point in the history
  • Loading branch information
G committed Dec 27, 2023
1 parent 5ed2cf0 commit bff44ee
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/admin/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@ import redImg from '@/assets/images/red-blur.png';
import router from '@/router';
import CustomGlobal from '@/styles/GlobalPager';

import { setupProdMockServer } from '../mock/_createProductionServer';
import LoadingPage from './components/LoadingPage';

function App() {
const isBuild = process.env.NODE_ENV === 'production';
if (isBuild) {
setupProdMockServer();
}
const preset = useGlobalStore((state) => state.preset);
const [loading, setLoading] = useState(true);

Expand Down

0 comments on commit bff44ee

Please sign in to comment.