aboutsummaryrefslogtreecommitdiff
path: root/src/Widget.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/Widget.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/Widget.tsx')
-rw-r--r--src/Widget.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Widget.tsx b/src/Widget.tsx
index 99c2a33..c3b1f8f 100644
--- a/src/Widget.tsx
+++ b/src/Widget.tsx
@@ -45,9 +45,9 @@ const Widget = () => {
<div className="@container/main flex flex-1 flex-col gap-2">
<div className="flex flex-col gap-4 py-4 md:gap-6 md:py-6">
<div className="px-4 lg:px-6">
- {app.currentPage === 'offerwall' && <Offerwall/>}
- {app.currentPage === 'questions' && <QuestionsPage/>}
- {app.currentPage === 'cashouts' && <CashoutMethodsPage/>}
+ {app.currentPage === 'offerwall' && <Offerwall />}
+ {app.currentPage === 'questions' && <QuestionsPage />}
+ {app.currentPage === 'cashouts' && <CashoutMethodsPage />}
</div>
</div>
</div>