Skip to content

Commit

Permalink
fix(ts): fix type definitions and use the latest pkode version
Browse files Browse the repository at this point in the history
  • Loading branch information
zainfathoni committed Jun 17, 2022
1 parent 1cd7dfa commit b6e7389
Show file tree
Hide file tree
Showing 7 changed files with 19,474 additions and 13,401 deletions.
2 changes: 1 addition & 1 deletion app/components/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type CardProps = {
category: string
categorySlug?: string
image?: string
icon: (props: React.SVGProps<SVGSVGElement>) => React.ReactElement
icon?: (props: React.SVGProps<SVGSVGElement>) => React.ReactElement
foregroundColor?: string
backgroundColor?: string
}
Expand Down
2 changes: 1 addition & 1 deletion app/model/activities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ export type Activity = {
readonly image?: string
}

export const activities = database[0].data as Activities
export const activities = database[0].data as unknown as Activities
9 changes: 0 additions & 9 deletions global.d.ts

This file was deleted.

Loading

0 comments on commit b6e7389

Please sign in to comment.