From 998aac559ec75379b7fd25496ae06073c7b342c5 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Sun, 13 Feb 2022 19:35:21 +0100
Subject: chore: add some noscript tags to explain why the data are not loaded

---
 src/components/Widgets/TopicsList/TopicsList.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/components/Widgets/TopicsList/TopicsList.tsx')

diff --git a/src/components/Widgets/TopicsList/TopicsList.tsx b/src/components/Widgets/TopicsList/TopicsList.tsx
index 109b212..e79d1a8 100644
--- a/src/components/Widgets/TopicsList/TopicsList.tsx
+++ b/src/components/Widgets/TopicsList/TopicsList.tsx
@@ -62,6 +62,12 @@ const TopicsList = ({
       withBorders={true}
       expand={true}
     >
+      <noscript>
+        {intl.formatMessage({
+          defaultMessage: 'Javascript is required to load the topics.',
+          description: 'TopicsList: noscript tag',
+        })}
+      </noscript>
       {getList()}
     </ExpandableWidget>
   );
-- 
cgit v1.2.3

