mirror of
https://github.com/inventree/InvenTree.git
synced 2026-03-29 23:58:44 +00:00
Remove unnecessary semicolon passed to FontFace constructor (#11603)
Fixes #11583
This commit is contained in:
@@ -62,7 +62,7 @@ export const useIconState = create<IconState>()((set, get) => ({
|
||||
([format, url]) => `url(${generateUrl(url)}) format("${format}")`
|
||||
)
|
||||
.join(',\n');
|
||||
const font = new FontFace(fontName, `${src};`);
|
||||
const font = new FontFace(fontName, src);
|
||||
await font.load();
|
||||
document.fonts.add(font);
|
||||
return font;
|
||||
|
||||
Reference in New Issue
Block a user