forked from Alex/Pterodactyl-Panel
ui: fix duplicate global styles
This commit is contained in:
parent
4e1c07d36e
commit
72983e8385
@ -10,10 +10,11 @@ import AuthenticationRouter from '@/routers/AuthenticationRouter';
|
||||
import { SiteSettings } from '@/state/settings';
|
||||
import ProgressBar from '@/components/elements/ProgressBar';
|
||||
import NotFound from '@/components/screens/NotFound';
|
||||
import tw, { GlobalStyles as TailwindGlobalStyles } from 'twin.macro';
|
||||
import tw from 'twin.macro';
|
||||
import GlobalStylesheet from '@/assets/css/GlobalStylesheet';
|
||||
import { history } from '@/components/history';
|
||||
import { setupInterceptors } from '@/api/interceptors';
|
||||
import TailwindGlobalStyles from '@/components/GlobalStyles';
|
||||
|
||||
const ChunkedAdminRouter = lazy(() => import(/* webpackChunkName: "admin" */'@/routers/AdminRouter'));
|
||||
|
||||
|
6
resources/scripts/components/GlobalStyles.tsx
Normal file
6
resources/scripts/components/GlobalStyles.tsx
Normal file
@ -0,0 +1,6 @@
|
||||
import React from 'react';
|
||||
import { GlobalStyles } from 'twin.macro';
|
||||
|
||||
export default () => {
|
||||
return <GlobalStyles/>;
|
||||
};
|
Loading…
Reference in New Issue
Block a user