Skip to content

Commit

Permalink
fix: typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaevAlexandr committed Apr 19, 2024
1 parent f76be0a commit 9c3b0d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ function Title({title}: {title?: string}) {
);
}

export const LayoutPresenter = ({children, title, theme}: LayoutPresenterProps) => {
export const LayoutPresenter = ({children, title, theme: config}: LayoutPresenterProps) => {
return (
<ThemeProvider layout={{theme}}>
<ThemeProvider layout={{config}}>
<Title title={title} />
<div
style={{
Expand Down

0 comments on commit 9c3b0d9

Please sign in to comment.