Skip to content

Commit

Permalink
Update layout props in workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
septum committed Nov 14, 2024
1 parent 6425d30 commit 2fa6db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/packages/core/src/AppProvider/workflow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ interface WorkflowLayoutConfiguration {
/**
* (Optional) property to pass the defined layout properties to all of its defined routes
*/
defaultLayoutProps?: Omit<LayoutProps, "workflow" | "title" | "subtitle">;
defaultLayoutProps?: Omit<LayoutProps, "workflowsInPath" | "title" | "subtitle">;
}

export interface Workflow
Expand Down Expand Up @@ -105,7 +105,7 @@ export interface Route {
/**
* (Optional) property to define layout properties for a single route
*/
layoutProps?: Omit<LayoutProps, "workflow" | "title" | "subtitle">;
layoutProps?: Omit<LayoutProps, "workflowsInPath" | "title" | "subtitle">;
}

export interface ConfiguredRoute extends Route {
Expand Down

0 comments on commit 2fa6db0

Please sign in to comment.