Skip to content

Commit

Permalink
fix: 🐛 Fix imports for ui-next (#4394)
Browse files Browse the repository at this point in the history
  • Loading branch information
igoroctaviano authored Sep 30, 2024
1 parent dd8e69a commit 43efed2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions platform/ui-next/src/components/DateRange/DateRange.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import * as React from 'react';
import { format, parse, isValid } from 'date-fns';
import { Calendar as CalendarIcon } from 'lucide-react';
import { cn } from '../../lib/utils';
import Calendar from '../Calendar';
import Popover from '../Popover';
import { Calendar } from '../Calendar';
import * as Popover from '../Popover';

export type DatePickerWithRangeProps = {
id: string;
Expand Down Expand Up @@ -90,7 +90,7 @@ export function DatePickerWithRange({
value={start}
onChange={e => handleInputChange(e, 'start')}
className={cn(
'border-inputfield-main focus:border-inputfield-focus h-[32px] w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-sm font-normal hover:bg-black hover:text-white',
'border-inputfield-main focus:border-inputfield-focus h-[32px] w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-sm font-normal hover:bg-black hover:text-white',
!start && 'text-muted-foreground'
)}
data-cy="input-date-range-start"
Expand Down
2 changes: 1 addition & 1 deletion platform/ui-next/src/components/SidePanel/SidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import React, { useCallback, useEffect, useState } from 'react';
import { Icons } from '../Icons';
import { TooltipTrigger, TooltipContent, TooltipProvider, Tooltip } from '../Tooltip';
import Separator from '../Separator';
import { Separator } from '../Separator';

type StyleMap = {
open: {
Expand Down
6 changes: 3 additions & 3 deletions platform/ui-next/src/components/StudyBrowser/StudyBrowser.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import PropTypes from 'prop-types';

import StudyItem from '../StudyItem';
import StudyBrowserSort from '../StudyBrowserSort';
import StudyBrowserViewOptions from '../StudyBrowserViewOptions';
import { StudyItem } from '../StudyItem';
import { StudyBrowserSort } from '../StudyBrowserSort';
import { StudyBrowserViewOptions } from '../StudyBrowserViewOptions';

const getTrackedSeries = displaySets => {
let trackedSeries = 0;
Expand Down
2 changes: 1 addition & 1 deletion platform/ui-next/src/components/StudyItem/StudyItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import ThumbnailList from '../ThumbnailList';
import { ThumbnailList } from '../ThumbnailList';

import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '../Accordion';

Expand Down
2 changes: 1 addition & 1 deletion platform/ui-next/src/components/Toolbox/Toolbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useToolbar } from '@ohif/core';
import { ToolboxUI } from './';
// Migrate this file to the new UI eventually
import { useToolbox } from '@ohif/ui';
import Separator from '../Separator';
import { Separator } from '../Separator';

/**
* A toolbox is a collection of buttons and commands that they invoke, used to provide
Expand Down
2 changes: 1 addition & 1 deletion platform/ui/src/components/StudyBrowser/StudyBrowser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const getTrackedSeries = displaySets => {
return trackedSeries;
};

const noop = () => { };
const noop = () => {};

const StudyBrowser = ({
tabs,
Expand Down

0 comments on commit 43efed2

Please sign in to comment.