Skip to content

Commit

Permalink
feat(ai.notebooks): fix sonar issue
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Bullet <[email protected]>
  • Loading branch information
abullet33 committed Dec 12, 2024
1 parent e3260f2 commit 7a6b5d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useTranslation } from 'react-i18next';
import { ArrowUpRightFromSquare, HelpCircle, Info } from 'lucide-react';
import { ArrowUpRightFromSquare, Info } from 'lucide-react';
import { useNotebookData } from '../Notebook.context';
import A from '@/components/links/A.component';
import { Button } from '@/components/ui/button';
Expand All @@ -8,11 +8,6 @@ import * as ai from '@/types/cloud/project/ai';
import DataSync from './_components/DataSync.component';
import { useModale } from '@/hooks/useModale';
import { isDataSyncNotebook } from '@/lib/notebookHelper';
import {
Popover,
PopoverContent,
PopoverTrigger,
} from '@/components/ui/popover';

const AttachedData = () => {
const { notebook, notebookQuery } = useNotebookData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface VolumesListProps {
volumes: ai.volume.Volume[];
}

export default function VolumesList({ volumes }: VolumesListProps) {
export default function VolumesList({ volumes }: Readonly<VolumesListProps>) {
const dataSyncModale = useModale('datasync');

const dataSyncVolume: ai.volume.Volume = useMemo(
Expand Down

0 comments on commit 7a6b5d8

Please sign in to comment.