fix(Enum): cannot be used as a value when imported as type (#764)

This commit is contained in:
Danny Avila 2023-08-05 20:23:07 -04:00 committed by GitHub
parent 96d29f7390
commit 06a7fba39b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,4 @@
import { TModelSelectProps } from '~/common'; import { TModelSelectProps, ESide } from '~/common';
import type { ESide } from '~/common';
import { import {
Switch, Switch,
SelectDropDown, SelectDropDown,

View file

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import { HoverCardPortal, HoverCardContent } from '~/components/ui'; import { HoverCardPortal, HoverCardContent } from '~/components/ui';
import type { ESide } from '~/common'; import { ESide } from '~/common';
import { useLocalize } from '~/hooks'; import { useLocalize } from '~/hooks';
type TOptionHoverProps = { type TOptionHoverProps = {