From aa251917f75581feafff24d750c05b08ed24ec33 Mon Sep 17 00:00:00 2001 From: william Date: Mon, 12 May 2025 11:08:35 +1000 Subject: [PATCH] tsc fix --- src/modules/orcavault/components/GraphqlFilter.tsx | 2 +- src/modules/orcavault/components/lims/LimsTable.tsx | 1 - src/stories/Select.stories.tsx | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/modules/orcavault/components/GraphqlFilter.tsx b/src/modules/orcavault/components/GraphqlFilter.tsx index 6c75b2a..0b52357 100644 --- a/src/modules/orcavault/components/GraphqlFilter.tsx +++ b/src/modules/orcavault/components/GraphqlFilter.tsx @@ -1,4 +1,4 @@ -import React, { useState } from 'react'; +import { useState } from 'react'; import { DateRangePicker, DateSinglePicker } from '@/components/common/datepicker'; import { classNames } from '@/utils/commonUtils'; import { Button } from '@/components/common/buttons'; diff --git a/src/modules/orcavault/components/lims/LimsTable.tsx b/src/modules/orcavault/components/lims/LimsTable.tsx index baeecba..64c04a3 100644 --- a/src/modules/orcavault/components/lims/LimsTable.tsx +++ b/src/modules/orcavault/components/lims/LimsTable.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { useMartListLimsQuery } from '../../api/lims'; import { Table } from '@/components/tables'; import { useQueryParams } from '@/hooks/useQueryParams'; diff --git a/src/stories/Select.stories.tsx b/src/stories/Select.stories.tsx index d487aaa..351be74 100644 --- a/src/stories/Select.stories.tsx +++ b/src/stories/Select.stories.tsx @@ -1,5 +1,5 @@ import type { Meta, StoryObj } from '@storybook/react'; -import { Select, IconMultipleSelect } from '@/components/common/select'; +import { IconMultipleSelect, SingleSelect } from '@/components/common/select'; import { ListBulletIcon } from '@heroicons/react/24/outline'; const people = [ @@ -11,7 +11,7 @@ const people = [ const meta: Meta = { title: 'Common/Select', - component: Select, + component: SingleSelect, parameters: { layout: 'centered', }, @@ -25,7 +25,7 @@ type Story = StoryObj; export const SelectStory: Story = { render: () => { return ( -