From bbb45568adb4ac3b3bc6cb4c81da70b0fe605c2e Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 29 Aug 2022 08:23:05 +0200 Subject: [PATCH] Fix WebUI error in development mode (#1835) Caused by using JSX features without importing React Signed-off-by: Claire --- app/javascript/flavours/glitch/util/icons.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/javascript/flavours/glitch/util/icons.js b/app/javascript/flavours/glitch/util/icons.js index be566032e..c3e362e39 100644 --- a/app/javascript/flavours/glitch/util/icons.js +++ b/app/javascript/flavours/glitch/util/icons.js @@ -1,3 +1,5 @@ +import React from 'react'; + // Copied from emoji-mart for consistency with emoji picker and since // they don't export the icons in the package export const loupeIcon = (