Skip to content

Commit

Permalink
fix: remove circular dependency for radio/checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
booc0mtaco committed Jun 12, 2024
1 parent 33fbd51 commit dffed3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Checkbox/Checkbox-v2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import clsx from 'clsx';
import React, { forwardRef } from 'react';
import type { ReactNode } from 'react';

import { FieldLabelV2 as FieldLabel } from '../..';
import useForwardedRef from '../../util/useForwardedRef';
import { useId } from '../../util/useId';
import type { EitherInclusive } from '../../util/utility-types';

import FieldLabel from '../FieldLabel';
import Text from '../Text';

import styles from './Checkbox-v2.module.css';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Radio/Radio-v2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import clsx from 'clsx';
import React from 'react';
import type { ReactNode } from 'react';

import { FieldLabelV2 as FieldLabel } from '../..';
import { useId } from '../../util/useId';
import type { EitherInclusive } from '../../util/utility-types';

import FieldLabel from '../FieldLabel';
import Text from '../Text';

import styles from './Radio-v2.module.css';
Expand Down

0 comments on commit dffed3c

Please sign in to comment.