Skip to content

Commit

Permalink
Fix issue with undefined variables
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed Oct 20, 2023
1 parent 3505397 commit 6bfbd2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/components/renderer/parser/parseToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export function parseToken(token: string): Prop<any> {
f(
new Proxy(normalize(ctx), {
get(target, prop: string) {
return target[prop]({});
return target[prop]?.({});
},
})
);
}
}
2 changes: 1 addition & 1 deletion client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ body,
body {
overflow: hidden;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
Expand Down

0 comments on commit 6bfbd2b

Please sign in to comment.