Skip to content

Commit

Permalink
refactor: remove conditional rendering for userPreferences in Dashboa…
Browse files Browse the repository at this point in the history
…rdLayout
  • Loading branch information
CarlosPavajeau committed May 17, 2024
1 parent 20b8f91 commit d037c90
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/(dashboard)/dashboard/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ const DashboardLayout = async ({ children }: DashboardLayoutProps) => {
<div className="flex items-center gap-3">
<MobileNav />

{userPreferences !== undefined && (
<SelectStore currentStore={store} stores={stores} />
)}
<SelectStore currentStore={store} stores={stores} />
</div>

<nav className="flex items-center gap-3">
Expand Down

0 comments on commit d037c90

Please sign in to comment.