Skip to content

Commit

Permalink
chore: cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
kahosan committed Aug 14, 2024
1 parent ae39f12 commit fa8fbfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/subscribe/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function FilterOptionsMenu({ state, dispatch, mutate }: FilterOptionsMenuProps)

const [bangumiShow, setBangumiShow] = useAtom(bangumiFilterAtom);

const handleShow = async (type: DataKind) => {
const handleShow = (type: DataKind) => {
setBangumiShow(p => (p === type ? 'both' : type));
};

Expand Down

0 comments on commit fa8fbfc

Please sign in to comment.