2
0
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:
Miklós Márton
2026-03-24 12:15:44 +01:00
committed by GitHub
parent ae593bd7c4
commit 4865a2b2a0

View File

@@ -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;