Skip to content

Commit

Permalink
bug fix: forgot to convert 2 of the utils
Browse files Browse the repository at this point in the history
  • Loading branch information
esmalleydev committed Apr 13, 2024
1 parent 3f194d6 commit db45e03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/generic/CBB/Compare/Player/Client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Client = ({ teams }) => {
const breakPoint = 425;

const [view, setView] = useState<string | null>('overview');
const [order, setOrder] = useState<string | null>('asc');
const [order, setOrder] = useState<string>('asc');
const [orderBy, setOrderBy] = useState<string>('minutes_per_game');
const [spin, setSpin] = useState(false);

Expand Down
2 changes: 1 addition & 1 deletion components/generic/CBB/Compare/Team/TableView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const TableView = ({ teams, season }) => {
const CBB = new HelperCBB();

const [view, setView] = useState<string | null>('overview');
const [order, setOrder] = useState<string | null>('asc');
const [order, setOrder] = useState<string>('asc');
const [orderBy, setOrderBy] = useState<string>('composite_rank');
const [spin, setSpin] = useState(false);

Expand Down

0 comments on commit db45e03

Please sign in to comment.