Skip to content

Commit

Permalink
chore(components): remove unused '@ts-expect-error' directive
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jan 6, 2025
1 parent b475224 commit ce73e84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ export function Button(props: Props) {
scrollFactorX={fixed ? 0 : undefined}
scrollFactorY={fixed ? 0 : undefined}
style={{
color: '#000',
fontFamily: 'monospace',
fontSize: '18px',
backgroundColor: '#fff',
// @ts-expect-error padding
color: '#000',
font: '18px monospace',
padding: { x: 20, y: 10 },
}}
text={text}
Expand Down
6 changes: 2 additions & 4 deletions src/components/Typewriter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ export function Typewriter(props: Props) {
x={16}
y={16}
style={{
color: '#000',
fontFamily: 'monospace',
fontSize: '18px',
backgroundColor: '#fff',
// @ts-expect-error padding
color: '#000',
font: '18px monospace',
padding: { x: 20, y: 10 },
}}
alpha={0.95}
Expand Down

0 comments on commit ce73e84

Please sign in to comment.