Skip to content

Commit

Permalink
Apparently banner image is nullable ?_?
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Oct 25, 2023
1 parent 8e5b7f1 commit a327a39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/js/components/profile-tournament-banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ interface Props {
}

export default function ProfileTournamentBanner({ banner }: Props) {
if (banner.image == null) return null;

return (
<a
className='profile-tournament-banner'
Expand Down

0 comments on commit a327a39

Please sign in to comment.