Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Taldrain committed Jan 28, 2024
1 parent 9337074 commit 62ebc22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/AmountDisplay/AmountDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface AmountDisplayType {
}

function AmountDisplay({ amount, isPositive }: AmountDisplayType) {
const { userSettings } = useLoaderData() as { userSettings: Settings }
const { userSettings } = useLoaderData() as { userSettings: Settings };

const color = isPositive ? 'text-green-500' : 'text-red-500';

Expand Down
2 changes: 1 addition & 1 deletion app/components/DateDisplay/DateDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type DateDisplayProps = {
}

function DateDisplay({ date, type }: DateDisplayProps) {
const { userSettings } = useLoaderData() as { userSettings: Settings }
const { userSettings } = useLoaderData() as { userSettings: Settings };
// `day` and `week` date type share the same display
let options: any = { dateStyle: 'full' };
if (type === 'year') {
Expand Down

0 comments on commit 62ebc22

Please sign in to comment.