Skip to content

Commit

Permalink
fix: tori punk font fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sakul-budhathoki committed Dec 29, 2023
1 parent 4053d04 commit 6e508b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { useFonts } from "expo-font";

import bebasNeueFont from "./Bebas_Neue/BebasNeue-Regular.ttf";

Check failure on line 3 in packages/screens/DAppStore/apps/toripunks/assets/font/useToriPunksFonts.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

Cannot find module './Bebas_Neue/BebasNeue-Regular.ttf' or its corresponding type declarations.
import dafterFont from "./Dafter_Harder_Better_Stronger/Dafter-Harder-Better-Stronger.ttf";

Check failure on line 4 in packages/screens/DAppStore/apps/toripunks/assets/font/useToriPunksFonts.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

Cannot find module './Dafter_Harder_Better_Stronger/Dafter-Harder-Better-Stronger.ttf' or its corresponding type declarations.

export const useToriPunksFonts = () => {
return useFonts({
"Bebas Neue": require("./Bebas_Neue/BebasNeue-Regular.ttf"),
"Dafter Harder Better Stronger": require("./Dafter_Harder_Better_Stronger/Dafter Harder Better Stronger.ttf"),
"Bebas Neue": bebasNeueFont,
"Dafter Harder Better Stronger": dafterFont,
});
};

0 comments on commit 6e508b7

Please sign in to comment.