OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
chore(dashboard): typos
Carl-Gerhard Lindesvärd8fdc3e4033cc
diff --git a/apps/dashboard/src/components/report/sidebar/ReportForumula.tsx b/apps/dashboard/src/components/report/sidebar/ReportFormula.tsxsimilarity index 71%rename from apps/dashboard/src/components/report/sidebar/ReportForumula.tsxrename to apps/dashboard/src/components/report/sidebar/ReportFormula.tsxindex 1908bbe7b..8e181726f 100644--- a/apps/dashboard/src/components/report/sidebar/ReportForumula.tsx+++ b/apps/dashboard/src/components/report/sidebar/ReportFormula.tsx@@ -5,17 +5,17 @@ import { useDispatch, useSelector } from '@/redux';import { changeFormula } from '../reportSlice';-export function ReportForumula() {- const forumula = useSelector((state) => state.report.formula);+export function ReportFormula() {+ const formula = useSelector((state) => state.report.formula);const dispatch = useDispatch();return (<div>- <h3 className="mb-2 font-medium">Forumula</h3>+ <h3 className="mb-2 font-medium">Formula</h3><div className="flex flex-col gap-4"><Inputplaceholder="eg: A/B"- value={forumula}+ value={formula}onChange={(event) => {dispatch(changeFormula(event.target.value));}}diff --git a/apps/dashboard/src/components/report/sidebar/ReportSidebar.tsx b/apps/dashboard/src/components/report/sidebar/ReportSidebar.tsxindex 2a4b80110..8e7152684 100644--- a/apps/dashboard/src/components/report/sidebar/ReportSidebar.tsx+++ b/apps/dashboard/src/components/report/sidebar/ReportSidebar.tsx@@ -4,17 +4,17 @@ import { useSelector } from '@/redux';import { ReportBreakdowns } from './ReportBreakdowns';import { ReportEvents } from './ReportEvents';-import { ReportForumula } from './ReportForumula';+import { ReportFormula } from './ReportFormula';export function ReportSidebar() {const { chartType } = useSelector((state) => state.report);- const showForumula = chartType !== 'funnel';+ const showFormula = chartType !== 'funnel';const showBreakdown = chartType !== 'funnel';return (<><div className="flex flex-col gap-8"><ReportEvents />- {showForumula && <ReportForumula />}+ {showFormula && <ReportFormula />}{showBreakdown && <ReportBreakdowns />}</div><SheetFooter>