diff --git a/apps/dashboard/src/components/report/sidebar/ReportForumula.tsx b/apps/dashboard/src/components/report/sidebar/ReportFormula.tsx similarity index 71% rename from apps/dashboard/src/components/report/sidebar/ReportForumula.tsx rename to apps/dashboard/src/components/report/sidebar/ReportFormula.tsx index 1908bbe7..8e181726 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 (
-

Forumula

+

Formula

{ dispatch(changeFormula(event.target.value)); }} diff --git a/apps/dashboard/src/components/report/sidebar/ReportSidebar.tsx b/apps/dashboard/src/components/report/sidebar/ReportSidebar.tsx index 2a4b8011..8e715268 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 ( <>
- {showForumula && } + {showFormula && } {showBreakdown && }