Skip to content

Commit

Permalink
feature(sample): use local font instead of nextjs font
Browse files Browse the repository at this point in the history
  • Loading branch information
aussedatlo committed Jan 30, 2024
1 parent cc1f180 commit f3dd1d9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apps/sample/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@
import { GlobalStyle } from "@/styles/globalstyles";
import { StyleProvider } from "@ledgerhq/react-ui/index";
import type { AppProps } from "next/app";
import { Inter } from "next/font/google";

const inter = Inter({ subsets: ["latin"] });

export default function App({ Component, pageProps }: AppProps) {
return (
<main className={inter.className}>
<StyleProvider selectedPalette="dark">
<main>
<StyleProvider selectedPalette="dark" fontsPath="/fonts">
<GlobalStyle />
<Component {...pageProps} />
</StyleProvider>
Expand Down

0 comments on commit f3dd1d9

Please sign in to comment.