diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-13 19:35:21 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-13 19:35:21 +0100 |
| commit | 998aac559ec75379b7fd25496ae06073c7b342c5 (patch) | |
| tree | 1baf975723e2880d69f9cebac405cea84674fc56 /src/components/Widgets/RelatedThematics | |
| parent | d7df049ef40d4028ac5616f8bbe366d1476404de (diff) | |
chore: add some noscript tags to explain why the data are not loaded
Diffstat (limited to 'src/components/Widgets/RelatedThematics')
| -rw-r--r-- | src/components/Widgets/RelatedThematics/RelatedThematics.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/Widgets/RelatedThematics/RelatedThematics.tsx b/src/components/Widgets/RelatedThematics/RelatedThematics.tsx index c6be3ca..e89d887 100644 --- a/src/components/Widgets/RelatedThematics/RelatedThematics.tsx +++ b/src/components/Widgets/RelatedThematics/RelatedThematics.tsx @@ -31,6 +31,12 @@ const RelatedThematics = ({ thematics }: { thematics: ThematicPreview[] }) => { )} withBorders={true} > + <noscript> + {intl.formatMessage({ + defaultMessage: 'Javascript is required to load the thematics.', + description: 'RelatedThematics: noscript tag', + })} + </noscript> <List items={thematicsList} /> </ExpandableWidget> ); |
