diff --git a/packages/odyssey-react-mui/src/labs/Switch.tsx b/packages/odyssey-react-mui/src/labs/Switch.tsx index 7625f4ea90..b3aced16e1 100644 --- a/packages/odyssey-react-mui/src/labs/Switch.tsx +++ b/packages/odyssey-react-mui/src/labs/Switch.tsx @@ -25,7 +25,6 @@ import { FormControlLabel, } from "@mui/material"; -const { CONTROLLED } = ComponentControlledState; import { useOdysseyDesignTokens } from "../OdysseyDesignTokensContext"; import { Box } from "../Box"; import { FieldComponentProps } from "../FieldComponentProps"; @@ -35,6 +34,8 @@ import { useUniqueId } from "../useUniqueId"; import { ComponentControlledState, getControlState } from "../inputUtils"; import { CheckedFieldProps } from "../FormCheckedProps"; +const { CONTROLLED } = ComponentControlledState; + type OnChangeCallbackArguments = { checked: boolean; value: string;