Skip to content

Commit

Permalink
optimize font loading
Browse files Browse the repository at this point in the history
  • Loading branch information
jvonasek committed Jun 12, 2024
1 parent 42383e1 commit 46ee878
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,6 @@ export const routes: Route[] = [
</Suspense>
),
},

// TODO: Not ready. Requested in #861n9ffe4
// {
// path: "LRNA",
// element: <StatsPage />,
// },
],
},
{
Expand Down
6 changes: 3 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ export default defineConfig(({ mode }) => {
svgr(),
Unfonts({
custom: {
display: "auto",
preload: true,
injectTo: "head-prepend",
display: "swap",
prefetch: true,
injectTo: "head",
families: [
{
name: "Geist",
Expand Down

0 comments on commit 46ee878

Please sign in to comment.