Skip to content

Commit

Permalink
fix: build pass
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaeyeonAhn committed Nov 21, 2024
1 parent f2ba20d commit 9d8be45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/common/components/Typography.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const getColorFromTheme = (theme: Theme, colorString: ThemeColors) => {
const colorValue = theme.colors[colorKey as keyof Theme["colors"]];

if (typeof colorValue === "object" && shade in colorValue) {
return colorValue[shade as keyof typeof colorValue];
return colorValue[shade as unknown as keyof typeof colorValue];
}
}

Expand Down

0 comments on commit 9d8be45

Please sign in to comment.