Skip to content

Commit

Permalink
fixup! Bump next from 13.3.4 to 14.0.3 in /frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
evroon committed Nov 27, 2023
1 parent 23b6fd6 commit 9c8df5f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions frontend/src/components/brackets/match.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Center, Grid, UnstyledButton, createStyles, useMantineTheme } from '@mantine/core';
import assert from 'assert';
import { Property } from 'csstype';
import React, { useState } from 'react';
import { SWRResponse } from 'swr';

Expand All @@ -16,8 +15,6 @@ import { getMatchLookup, getStageItemLookup } from '../../services/lookups';
import MatchModal from '../modals/match_modal';
import { Time } from '../utils/datetime';

import Visibility = Property.Visibility;

const useStyles = createStyles((theme) => ({
root: {
width: '100%',
Expand All @@ -43,7 +40,7 @@ const useStyles = createStyles((theme) => ({
}));

export function MatchBadge({ match, theme }: { match: MatchInterface; theme: any }) {
const visibility: Visibility = match.court ? 'visible' : 'hidden';
const visibility = match.court ? 'visible' : 'hidden';
const badgeColor = theme.colorScheme === 'dark' ? theme.colors.blue[7] : theme.colors.blue[2];
return (
<Center style={{ transform: 'translateY(0%)', visibility }}>
Expand Down

0 comments on commit 9c8df5f

Please sign in to comment.