From 303077c36b52026a001d619617e3d12ba2af1669 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 10 Jan 2024 10:18:12 -0800 Subject: [PATCH] Revert font loading to local --- packages/components/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/App.tsx b/packages/components/src/App.tsx index bc3adb04..23b96ae2 100644 --- a/packages/components/src/App.tsx +++ b/packages/components/src/App.tsx @@ -40,8 +40,8 @@ export const webStorybookColorScheme = () => { const App = () => { // Loads in custom fonts async const [fontsLoaded, fontError] = useFonts({ - 'SourceSansPro-Bold': require('@department-of-veterans-affairs/mobile-assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf'), - 'SourceSansPro-Regular': require('@department-of-veterans-affairs/mobile-assets/fonts/SourceSansPro/SourceSansPro-Regular.ttf'), + 'SourceSansPro-Bold': require('./assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf'), + 'SourceSansPro-Regular': require('./assets/fonts/SourceSansPro/SourceSansPro-Regular.ttf'), }) // Holds rendering until custom fonts load