Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peripheralist committed Sep 12, 2023
1 parent 854e31d commit 414f05a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/models/dbProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export type DBProject = {
contributorsCount: number
nftsMintedCount: number
redeemCount: number
createdWithinTrendingWindow: boolean
createdWithinTrendingWindow: boolean | null

owner: string
creator: string
Expand Down
2 changes: 1 addition & 1 deletion src/utils/sgDbProjects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function formatDBProjectRow(
archived: p.archived,
contributors_count: p.contributorsCount,
created_at: p.createdAt,
created_within_trending_window: p.createdWithinTrendingWindow,
created_within_trending_window: p.createdWithinTrendingWindow || false,
creator: p.creator,
current_balance: p.currentBalance,
deployer: p.deployer,
Expand Down

2 comments on commit 414f05a

@vercel
Copy link

@vercel vercel bot commented on 414f05a Sep 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 414f05a Sep 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.