diff --git a/src/components/elements/paged-list.tsx b/src/components/elements/paged-list.tsx index 0ac45e33..998e821c 100644 --- a/src/components/elements/paged-list.tsx +++ b/src/components/elements/paged-list.tsx @@ -93,8 +93,10 @@ const PagedList = ({children, ulProps, liProps, pageKey = "page", totalPages, pa }, [loadPage, router, currentPage, pageKey, searchParams]) useEffect(() => { - if (currentPage > 1 && !ref.current) goToPage(currentPage, true) - ref.current = true + if (currentPage > 1 && !ref.current) { + ref.current = true + goToPage(currentPage, true) + } }, [currentPage, goToPage]) const paginationButtons = usePagination(totalPages * items.length, currentPage, items.length, pagerSiblingCount) diff --git a/src/styles/fonts.tsx b/src/styles/fonts.tsx index be340f6d..9fbbed06 100644 --- a/src/styles/fonts.tsx +++ b/src/styles/fonts.tsx @@ -4,4 +4,5 @@ export const sourceSans3 = Source_Sans_3({ subsets: ["latin"], display: "swap", variable: "--font-sans", + adjustFontFallback: false, })