Skip to content

Commit

Permalink
fix: remove hc a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Dec 13, 2024
1 parent 51d5d66 commit af8674b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/components/Charts/LineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { Button } from '@nextui-org/button';
import { useDisclosure } from '@nextui-org/modal';
import Highcharts from 'highcharts';
import highchartsAccessibility from 'highcharts/modules/accessibility';
import HighchartsReact from 'highcharts-react-official';
import { Maximize4 } from 'iconsax-react';
import { useTheme } from 'next-themes';
Expand All @@ -19,8 +18,6 @@ import { LineChartData } from '@/domain/entities/charts/LineChartData';
import LineChartProps from '@/domain/props/LineChartProps';
import LineChartOperations from '@/operations/charts/LineChartOperations';

highchartsAccessibility(Highcharts);

/**
* The LineChart component is a box that primarily renders a title, description text, and a line chart.
* This component has a width of 100%, so it adjusts to the width of its parent element in which it is used.
Expand Down
3 changes: 0 additions & 3 deletions src/components/Charts/LineChartModal.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Button } from '@nextui-org/button';
import { Modal, ModalBody, ModalContent, ModalFooter, ModalHeader } from '@nextui-org/modal';
import Highcharts from 'highcharts';
import highchartsAccessibility from 'highcharts/modules/accessibility';
import HighchartsReact from 'highcharts-react-official';
import { Minus } from 'iconsax-react';
import { useRef } from 'react';
Expand All @@ -13,8 +12,6 @@ import LineChartXAxisSlider from '@/components/Charts/helpers/LineChartXAxisSlid
import { Tooltip } from '@/components/Tooltip/Tooltip';
import LineChartModalProps from '@/domain/props/LineChartModalProps';

highchartsAccessibility(Highcharts);

/**
* This component is tied to the `LineChart` component and should not be used independently.
* It renders the modal, which can be opened by the user from the `LineChart` to display the chart
Expand Down

0 comments on commit af8674b

Please sign in to comment.