Skip to content

Commit

Permalink
fixed isAdmin logic again
Browse files Browse the repository at this point in the history
  • Loading branch information
varCepheid committed Dec 14, 2023
1 parent d2dcb11 commit 4793467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/event-matches.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { formatMatchKey } from '@/utils/format-match-key'
interface Props {
matches: ProcessedMatchInfo[]
eventKey: string
isAdmin: boolean
isAdmin?: boolean
}

const searchTextStyles = css`
Expand Down
2 changes: 1 addition & 1 deletion src/components/match-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface MatchCardProps {
eventKey: string
link?: boolean
class?: string
isAdmin: boolean
isAdmin?: boolean
}

const matchCardStyle = css`
Expand Down

0 comments on commit 4793467

Please sign in to comment.