aboutsummaryrefslogtreecommitdiff
path: root/src/components/nav-main.tsx
diff options
context:
space:
mode:
authorMax Nanis2025-06-03 20:06:44 +0700
committerMax Nanis2025-06-03 20:06:44 +0700
commit62456f41288eb0f03c5092d36610d566f275c8b5 (patch)
tree20b0170545f6b6c1ae1af233aca795d1d4aac2ef /src/components/nav-main.tsx
parentbf027779eb4c839420406e3547f22f5665ec08ab (diff)
downloadpanel-ui-62456f41288eb0f03c5092d36610d566f275c8b5.tar.gz
panel-ui-62456f41288eb0f03c5092d36610d566f275c8b5.zip
selectQuestionById, useMemo selector (MultiChoice.choices makes a lot of lookup). Setting up the Questions view to do Pagination to tab through available questions and view one at a time
Diffstat (limited to 'src/components/nav-main.tsx')
-rw-r--r--src/components/nav-main.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/nav-main.tsx b/src/components/nav-main.tsx
index 873d236..12a60aa 100644
--- a/src/components/nav-main.tsx
+++ b/src/components/nav-main.tsx
@@ -19,7 +19,7 @@ export function NavMain() {
<SidebarGroupContent className="flex flex-col gap-2">
<SidebarMenu>
- <SidebarMenuItem key="Surveys"
+ <SidebarMenuItem key="surveys"
onClick={() => dispatch(setPage("offerwall"))}
>
<SidebarMenuButton tooltip="Surveys">
@@ -29,7 +29,7 @@ export function NavMain() {
</SidebarMenuItem>
- <SidebarMenuItem key="Questions"
+ <SidebarMenuItem key="questions"
onClick={() => dispatch(setPage("questions"))}
>
<SidebarMenuButton tooltip="Questions">
@@ -38,7 +38,7 @@ export function NavMain() {
</SidebarMenuButton>
</SidebarMenuItem>
- <SidebarMenuItem key="Community">
+ <SidebarMenuItem key="community">
<SidebarMenuButton tooltip="Community">
<Users/>
<span>Community</span>