Skip to content

Commit

Permalink
Use is pending, as we don't want to show each loading again
Browse files Browse the repository at this point in the history
  • Loading branch information
razzeee committed Jan 31, 2024
1 parent a049b9e commit 1f3929a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/app-picks/AppOfTheDayChanger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const AppOfTheDayChanger = ({ selectableApps, day }) => {
return (
<div>
{format(day, "EEEE")}
{queryAppOfTheDay.isFetching ? (
{queryAppOfTheDay.isPending ? (
<Spinner size="m" />
) : (
<AppOfTheDay appOfTheDay={queryAppOfTheDay.data.data} />
Expand Down

0 comments on commit 1f3929a

Please sign in to comment.