Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

fix: resolve hydration issue by adjusting font loading#337

Open
GGalya1 wants to merge 2 commits intodevfrom
fix/font-is-not-displayed
Open

fix: resolve hydration issue by adjusting font loading#337
GGalya1 wants to merge 2 commits intodevfrom
fix/font-is-not-displayed

Conversation

@GGalya1
Copy link
Copy Markdown
Contributor

@GGalya1 GGalya1 commented Mar 21, 2025

  • Moved fonts from src/fonts/ to public/fonts/
  • Replaced next/font/local with @font-face in globals.css
  • Updated layout.tsx to remove dynamic font imports
  • Ensured consistent font rendering to prevent hydration mismatch

- Moved fonts from `src/fonts/` to `public/fonts/`
- Replaced `next/font/local` with `@font-face` in `globals.css`
- Updated `layout.tsx` to remove dynamic font imports
- Ensured consistent font rendering to prevent hydration mismatch
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant