Skip to content

Commit

Permalink
Let's do it differently
Browse files Browse the repository at this point in the history
  • Loading branch information
BudzioT committed Jan 19, 2025
1 parent 8182cf3 commit a0541a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/app/utils/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export interface Ship extends EditableShipFields {
yswsType: YswsType
feedback: string | null
isInYswsBase: boolean
hidden: boolean
}
export interface EditableShipFields {
title: string
Expand Down Expand Up @@ -143,7 +142,6 @@ export async function fetchShips(
yswsType: r.fields.yswsType,
feedback: r.fields.ai_feedback_summary,
isInYswsBase: Boolean(r.fields.has_ysws_submission_id),
hidden: Boolean(r.fields.hidden),
}

return ship
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/ship-pill-cluster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function ShipPillCluster({
{chain[0].shipStatus === 'shipped' ? (
<>
{allShipsHaveVoteRequirementMet ? (
chain.at(-1)?.matchups_count >= 10 || chain.at(-1)?.hidden ? (
chain.at(-1).paidOut == true ? (
<Pill
classes={`${transparent && 'bg-white/15 text-white'} ${size === 'small' ? 'text-xs' : ''}`}
msg={pluralize(roundedPayout, 'doubloon', true)}
Expand Down

0 comments on commit a0541a1

Please sign in to comment.