Skip to content

Commit 2693865

Browse files
committed
[QF-3666] refactor
1 parent b7f4201 commit 2693865

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/HeaderNavigation/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const HeaderNavigation: React.FC<HeaderNavigationProps> = ({ backUrl, title }) =
2323
<link rel="preload" as="image" href="/images/background.png" />
2424
</Head>
2525
<div className={styles.heroBackgroundImage}>
26-
<Background />
26+
<Background aria-hidden="true" focusable="false" />
2727
</div>
2828
<div>
2929
<div className={styles.heroInnerContainer}>

src/hooks/useTransformFormErrors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import useTranslation from 'next-translate/useTranslation';
22

3-
type FieldErrorConfig = {
3+
interface FieldErrorConfig {
44
fieldNameKey: string;
55
extraParams?: Record<string, unknown>;
6-
};
6+
}
77

88
type FormErrorTransformerConfig<T> = {
99
[K in keyof T]?: FieldErrorConfig;

0 commit comments

Comments
 (0)