Skip to content

Commit

Permalink
fix: More code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel.carrera committed Sep 26, 2024
1 parent 2ceabc2 commit e3c369b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/preview-react/radio/stories/examples/Error.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import {FormField, FormFieldGroup} from '@workday/canvas-kit-react/form-field';
import {FormFieldGroup} from '@workday/canvas-kit-react/form-field';
import {RadioGroup} from '@workday/canvas-kit-preview-react/radio';

export const Error = () => {
Expand Down Expand Up @@ -35,7 +35,7 @@ export const Error = () => {
Cauliflower
</FormFieldGroup.Input>
</FormFieldGroup.List>
<FormField.Hint>Deep dish is currently sold out.</FormField.Hint>
<FormFieldGroup.Hint>Deep dish is currently sold out.</FormFieldGroup.Hint>
</FormFieldGroup.Field>
</FormFieldGroup>
);
Expand Down
1 change: 0 additions & 1 deletion modules/preview-react/radio/stories/examples/Inverse.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import {Box} from '@workday/canvas-kit-react/layout';
import {RadioGroup} from '@workday/canvas-kit-preview-react/radio';
import {FormField, FormFieldGroup} from '@workday/canvas-kit-react/form-field';
import {createStyles} from '@workday/canvas-kit-styling';
import {system} from '@workday/canvas-tokens-web';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import {FormField, FormFieldGroup} from '@workday/canvas-kit-react/form-field';
import {FormFieldGroup} from '@workday/canvas-kit-react/form-field';
import {RadioGroup} from '@workday/canvas-kit-preview-react/radio';

export const LabelPosition = () => {
Expand Down
2 changes: 1 addition & 1 deletion modules/react/form-field/stories/FormField.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {ThemedError as ThemedErrorExample} from './examples/ThemedErrors';
import {GroupedInputs as GroupedInputsExample} from './examples/GroupedInputs';

export default {
title: 'Preview/Inputs/Form Field',
title: 'Components/Inputs/Form Field',
component: FormField,
tags: ['autodocs'],
parameters: {
Expand Down

0 comments on commit e3c369b

Please sign in to comment.