Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anucreative committed Sep 11, 2023
1 parent 86ea8a5 commit 41a1b43
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/Core/src/utils/font.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@ function getSource(

function getFont({
name,
variation: { display = 'swap', extension = 'woff2', isVariable, style, unicodeRange, url, weight },
variation: {
display = 'swap',
extension = 'woff2',
isVariable,
style,
unicodeRange,
url,
weight,
},
}: Font) {
return css`
@font-face {
Expand All @@ -51,7 +59,7 @@ function getFont({
`}
${unicodeRange &&
css`
unicode-range: ${unicodeRange};
unicode-range: ${unicodeRange};
`}
}
`
Expand Down

0 comments on commit 41a1b43

Please sign in to comment.