diff --git a/src/front/components/DesignSystem/Modal/index.tsx b/src/front/components/DesignSystem/Modal/index.tsx index 52ea7bbe..bfdaec0d 100644 --- a/src/front/components/DesignSystem/Modal/index.tsx +++ b/src/front/components/DesignSystem/Modal/index.tsx @@ -29,8 +29,7 @@ export default class Modal
ext constructor(props: P) { super(props); this.close = this.close.bind(this); - this.closeOnBackgroundClick = this.closeOnBackgroundClick.bind(this); - + (this.state as any) = { isOpen: props.isOpen ?? true, }; @@ -41,13 +40,13 @@ export default class Modal
ext return (
ext
}
}
- private closeOnBackgroundClick() {
- this.close();
- }
-
protected close() {
this.setState({
isOpen: false,
diff --git a/src/front/components/DesignSystem/Typography/classes.module.scss b/src/front/components/DesignSystem/Typography/classes.module.scss
index d1c3b9fb..380f2115 100644
--- a/src/front/components/DesignSystem/Typography/classes.module.scss
+++ b/src/front/components/DesignSystem/Typography/classes.module.scss
@@ -3,7 +3,7 @@
.root {
color: $black;
-
+ font-family: 'Inter', sans-serif;
&.H1-60 {
font-style: normal;
font-weight: 500;
diff --git a/src/front/components/Layouts/DesignSystem/index.tsx b/src/front/components/Layouts/DesignSystem/index.tsx
index 42930409..179308bd 100644
--- a/src/front/components/Layouts/DesignSystem/index.tsx
+++ b/src/front/components/Layouts/DesignSystem/index.tsx
@@ -59,7 +59,17 @@ export default class DesignSystem extends BasePage