Update React, fix null dates, add default route for missing season ID and move blurred area effect to table only
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -24,7 +24,7 @@ const createTableEntries = (entries: TableEntry[]) =>
|
||||
const UserList: React.FC<IUserListProperties> = (props: IUserListProperties) => (
|
||||
<div className="UserList" data-testid="UserList">
|
||||
<SeasonSwitch {...props} />
|
||||
<table>
|
||||
<table className={!props.enabled ? "blurred" : ""}>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Placement</th>
|
||||
@@ -43,7 +43,7 @@ const UserList: React.FC<IUserListProperties> = (props: IUserListProperties) =>
|
||||
export interface IUserListProperties {
|
||||
userStats: UserStatsResponse
|
||||
mocked?: boolean
|
||||
onSeasonIdChange: any
|
||||
onSeasonIdChange: React.Dispatch<React.SetStateAction<string | undefined>>
|
||||
enabled: boolean
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user