about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-08-29 08:23:05 +0200
committerGitHub <noreply@github.com>2022-08-29 08:23:05 +0200
commitbbb45568adb4ac3b3bc6cb4c81da70b0fe605c2e (patch)
tree5d660384d08f7f6e3ebf4786754ce5c0c64f5366
parent7a02c1d9bab8ba004eea54a907782a949ecb3493 (diff)
Fix WebUI error in development mode (#1835)
Caused by using JSX features without importing React

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r--app/javascript/flavours/glitch/util/icons.js2
1 files changed, 2 insertions, 0 deletions
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 = (