mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-01 00:51:06 +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}")`
|
([format, url]) => `url(${generateUrl(url)}) format("${format}")`
|
||||||
)
|
)
|
||||||
.join(',\n');
|
.join(',\n');
|
||||||
const font = new FontFace(fontName, `${src};`);
|
const font = new FontFace(fontName, src);
|
||||||
await font.load();
|
await font.load();
|
||||||
document.fonts.add(font);
|
document.fonts.add(font);
|
||||||
return font;
|
return font;
|
||||||
|
|||||||
Reference in New Issue
Block a user