From b02f5a0b08f54ec3473c800481a83acf5fad2cba Mon Sep 17 00:00:00 2001 From: bryancunningham-okta Date: Mon, 8 Jan 2024 13:08:36 -0500 Subject: [PATCH] fix(odyssey-react-mui): move variable declaration below import --- packages/odyssey-react-mui/src/labs/Switch.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;