This commit is contained in:
Tim Slatcher 2023-09-08 13:22:13 -06:00
parent 87371b546c
commit 3ef405880e
2 changed files with 3 additions and 3 deletions

View File

@ -47,8 +47,8 @@ export const RatingField = ({
// If the rating is not yet loaded or unset, it will be `undefined`.
// material-ui uses an `null` to indicate an unset value.
// Passing `undefined` will switch the component into "uncontrolled" mode.
const ratingValue = rating ?? null;
const ratingValue = rating ?? null
return (
<span onClick={(e) => stopPropagation(e)}>
<Rating

View File

@ -9,7 +9,7 @@ const initialState = {
notifications: false,
toggleableFields: {},
omittedFields: {},
playerRatingControl: localStorage.getItem('playerRating') ?? "love",
playerRatingControl: localStorage.getItem('playerRating') ?? 'love',
}
export const settingsReducer = (previousState = initialState, payload) => {