mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 14:44:21 +00:00
Fix weird fontawesome bug
This commit is contained in:
parent
3ce0b5698f
commit
c820429d42
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
import { AppProps } from 'next/app'
|
||||
import { appWithTranslation, useTranslation } from 'next-i18next'
|
||||
import { SWRConfig } from 'swr'
|
||||
import { AxiosSWRFetcherProvider, useAxiosSWRFetcher } from '../components/auth/requests'
|
||||
import { AxiosSWRFetcherProvider } from '../components/auth/requests'
|
||||
import { useStatePostcard } from '../components/postcard/storage'
|
||||
import { PageErrorBoundary } from '../components/generic/errors/boundaries'
|
||||
import { PostcardContext } from '../components/postcard/base'
|
||||
|
@ -10,6 +9,11 @@ import { AuthContext } from '../components/auth/base'
|
|||
import { PostcardRenderer } from '../components/postcard/renderer'
|
||||
import '../styles/globals.css'
|
||||
import defaultPostcard from "../public/postcards/adi-goldstein-Hli3R6LKibo-unsplash.jpg"
|
||||
import { config as fontAwesomeConfig } from '@fortawesome/fontawesome-svg-core'
|
||||
import '@fortawesome/fontawesome-svg-core/styles.css'
|
||||
|
||||
|
||||
fontAwesomeConfig.autoAddCss = false
|
||||
|
||||
|
||||
const App = ({ Component, pageProps }: AppProps): JSX.Element => {
|
||||
|
|
Loading…
Reference in a new issue