Skip to content

Commit

Permalink
fix: removed loader from inbox
Browse files Browse the repository at this point in the history
  • Loading branch information
deewakar-k committed Oct 28, 2024
1 parent 4c368db commit f0314d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/frontend/src/components/Inbox/InboxItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ export const InboxItems: React.FC = () => {
[updateItem, session]
)

if (isLoading) {
/* if (isLoading) {
return (
<div className="flex flex-col gap-4">
<p>loading...</p>
</div>
)
}
} */

const menuItems = (item: CycleItem) => [
{
Expand Down
1 change: 1 addition & 0 deletions apps/frontend/src/lib/store/cycle.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ export const useCycleItemStore = create<ExtendedCycleItemStore>((set) => ({
error: errorMessage,
isLoading: false,
}))
throw error
}
},

Expand Down

0 comments on commit f0314d7

Please sign in to comment.