File tree 2 files changed +12
-12
lines changed 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ import FadeInOnView from '@/components/FadeComponent/FadeInOnView';
7
7
import Footer from '@/components/Home/Footer' ;
8
8
9
9
// Define types for the translation structure
10
- interface ContentItem {
10
+ type ContentItem = {
11
11
point ?: string ;
12
12
text : string ;
13
- }
13
+ } ;
14
14
15
- interface Section {
15
+ type Section = {
16
16
title : string ;
17
17
content : ( string | ContentItem ) [ ] ;
18
- }
18
+ } ;
19
19
20
- interface PrivacyPolicyTranslation {
20
+ type PrivacyPolicyTranslation = {
21
21
[ sectionKey : string ] : Section ; // Dynamic section keys with a Section value
22
- }
22
+ } ;
23
23
24
24
/**
25
25
* Privacy Policy component that displays data collection, usage, and user rights.
Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ import FadeInOnView from '@/components/FadeComponent/FadeInOnView';
7
7
import Footer from '@/components/Home/Footer' ;
8
8
9
9
// Define types for the translation structure
10
- interface ContentItem {
10
+ type ContentItem = {
11
11
point ?: string ;
12
12
text : string ;
13
- }
13
+ } ;
14
14
15
- interface Section {
15
+ type Section = {
16
16
title : string ;
17
17
content : ( string | ContentItem ) [ ] ;
18
- }
18
+ } ;
19
19
20
- interface TermsOfServiceTranslation {
20
+ type TermsOfServiceTranslation = {
21
21
[ sectionKey : string ] : Section ; // Dynamic section keys with a Section value
22
- }
22
+ } ;
23
23
24
24
/**
25
25
* Terms of Service component that displays platform policies and guidelines.
You can’t perform that action at this time.
0 commit comments