diff --git a/src/components/uniforms-frontmatter/BoolField.tsx b/src/components/uniforms-frontmatter/BoolField.tsx index 85aab276..d328d10d 100644 --- a/src/components/uniforms-frontmatter/BoolField.tsx +++ b/src/components/uniforms-frontmatter/BoolField.tsx @@ -1,8 +1,8 @@ import * as React from 'react'; import { Ref } from 'react'; import { HTMLFieldProps, connectField, filterDOMProps } from 'uniforms'; -import { LabelStyles } from './component-styles'; import './BoolField.css'; +import { LabelField } from './LabelField'; export type BoolFieldProps = HTMLFieldProps< boolean, @@ -23,7 +23,7 @@ function Bool({ }: BoolFieldProps) { return (
- {label && } +