Skip to content

Commit

Permalink
Coerce variant styles as Interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
septum committed Oct 17, 2024
1 parent 275ea93 commit 076904d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/packages/core/src/WorkflowLayout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";
import { Interpolation } from "@emotion/styled";
import type { CSSObject, Theme } from "@mui/material";

import styled from "../styled";
Expand Down Expand Up @@ -44,7 +45,7 @@ const getContainerVariantStyles = (variant: LayoutVariant, theme: Theme) => {

const LayoutContainer = styled("div")(
({ $variant, theme }: StyledVariantComponentProps) =>
getContainerVariantStyles($variant, theme) as any
getContainerVariantStyles($variant, theme) as Interpolation<void>
);

const PageHeader = styled("div")(({ $variant, theme }: StyledVariantComponentProps) => ({
Expand Down

0 comments on commit 076904d

Please sign in to comment.