Skip to content

Commit a518c0d

Browse files
Add a type annotation
1 parent affccb3 commit a518c0d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/views/workflow-page/workflow-page-header/workflow-page-header.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ import queryString from 'query-string';
1010
import cadenceLogoBlack from '@/assets/cadence-logo-black.svg';
1111
import ErrorBoundary from '@/components/error-boundary/error-boundary';
1212
import PageSection from '@/components/page-section/page-section';
13+
import { type PageQueryParamSetterValues } from '@/hooks/use-page-query-params/use-page-query-params.types';
1314
import useStyletronClasses from '@/hooks/use-styletron-classes';
15+
import type domainPageQueryParamsConfig from '@/views/domain-page/config/domain-page-query-params.config';
1416

1517
import WorkflowPageStatusTag from '../workflow-page-status-tag/workflow-page-status-tag';
1618

@@ -48,7 +50,9 @@ export default function WorkflowPageHeader({
4850
url: domainLink + '/workflows',
4951
query: {
5052
search: workflowId,
51-
},
53+
} satisfies Partial<
54+
PageQueryParamSetterValues<typeof domainPageQueryParamsConfig>
55+
>,
5256
})}
5357
>
5458
{workflowId}

0 commit comments

Comments
 (0)