Skip to content

Commit

Permalink
FIX: (odyssey-react-mui): move variable declaration below import (#2082)
Browse files Browse the repository at this point in the history
fix(odyssey-react-mui): move variable declaration below import
  • Loading branch information
bryancunningham-okta committed Jan 8, 2024
1 parent 6c4dcd2 commit 910e4fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/odyssey-react-mui/src/labs/Switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
FormControlLabel,
} from "@mui/material";

const { CONTROLLED } = ComponentControlledState;
import { useOdysseyDesignTokens } from "../OdysseyDesignTokensContext";
import { Box } from "../Box";
import { FieldComponentProps } from "../FieldComponentProps";
Expand All @@ -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;
Expand Down

0 comments on commit 910e4fc

Please sign in to comment.