summaryrefslogtreecommitdiffstats
path: root/src/components/Widgets/ThematicsList/ThematicsList.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-13 19:35:21 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-13 19:35:21 +0100
commit998aac559ec75379b7fd25496ae06073c7b342c5 (patch)
tree1baf975723e2880d69f9cebac405cea84674fc56 /src/components/Widgets/ThematicsList/ThematicsList.tsx
parentd7df049ef40d4028ac5616f8bbe366d1476404de (diff)
chore: add some noscript tags to explain why the data are not loaded
Diffstat (limited to 'src/components/Widgets/ThematicsList/ThematicsList.tsx')
-rw-r--r--src/components/Widgets/ThematicsList/ThematicsList.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/Widgets/ThematicsList/ThematicsList.tsx b/src/components/Widgets/ThematicsList/ThematicsList.tsx
index e59050d..f175e80 100644
--- a/src/components/Widgets/ThematicsList/ThematicsList.tsx
+++ b/src/components/Widgets/ThematicsList/ThematicsList.tsx
@@ -62,6 +62,12 @@ const ThematicsList = ({
withBorders={true}
expand={true}
>
+ <noscript>
+ {intl.formatMessage({
+ defaultMessage: 'Javascript is required to load the thematics.',
+ description: 'ThematicsList: noscript tag',
+ })}
+ </noscript>
{getList()}
</ExpandableWidget>
);