Skip to content

Commit 3534104

Browse files
committed
fix: remove redundant 'file:' prefix in useFont function
1 parent 50a9c70 commit 3534104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/features/thumbnail/canvasFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if (typeof document === 'undefined') {
4646

4747
const useFont = () => {
4848
GlobalFonts.registerFromPath(
49-
'file:' + getPath('assets/fonts/Lato-Regular.ttf').toString(),
49+
getPath('assets/fonts/Lato-Regular.ttf').toString(),
5050
'Lato',
5151
);
5252
};

0 commit comments

Comments
 (0)