Skip to content

Commit

Permalink
Add missing function
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Mar 24, 2024
1 parent bfff7f2 commit 065a7c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/app/(emojis)/emojis/components/Hero/Topbar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ import { Drawer } from 'vaul';
import CategoriesDrawer from '@/app/(emojis)/emojis/components/CategoriesDrawer';

export default function Sidebar() {
const { fetchEmojis, selectedCategory, setCategory, sort, setSort, search, loading } = useSearchStore(useShallow(state => ({
const { fetchEmojis, selectedCategory, setCategory, sort, setSort, search, loading, setPage } = useSearchStore(useShallow(state => ({
fetchEmojis: state.fetchEmojis,
selectedCategory: state.category,
setCategory: state.setCategory,
sort: state.sort,
setSort: state.setSort,
search: state.search,
loading: state.loading
loading: state.loading,
setPage: state.setPage
})));

const sequenceTransition = {
Expand Down

0 comments on commit 065a7c3

Please sign in to comment.