Skip to content

Commit

Permalink
chore: remove unused imports in DiffView and Workbench components
Browse files Browse the repository at this point in the history
  • Loading branch information
Toddyclipsgg committed Feb 3, 2025
1 parent 64a5f95 commit af444e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions app/components/workbench/DiffView.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { memo, useMemo, useState, useEffect, useCallback } from 'react';
import { memo, useMemo, useState, useEffect } from 'react';
import { useStore } from '@nanostores/react';
import { workbenchStore } from '~/lib/stores/workbench';
import type { FileMap } from '~/lib/stores/files';
Expand All @@ -7,7 +7,6 @@ import { diffLines, type Change } from 'diff';
import { getHighlighter } from 'shiki';
import Cookies from 'js-cookie';
import '~/styles/diff-view.css';
import { Popover, Transition } from '@headlessui/react'

interface CodeComparisonProps {
beforeCode: string;
Expand Down
1 change: 0 additions & 1 deletion app/components/workbench/Workbench.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import useViewport from '~/lib/hooks';
import Cookies from 'js-cookie';
import { chatMetadata, useChatHistory } from '~/lib/persistence';
import { DiffView } from './DiffView';
import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
import { Popover, Transition } from '@headlessui/react'
import { type Change } from 'diff';
import { formatDistanceToNow as formatDistance } from 'date-fns';
Expand Down

0 comments on commit af444e6

Please sign in to comment.