]> cat aescling's git repositories - mastodon.git/commitdiff
Fix WebUI error in development mode (#19078)
authorClaire <claire.github-309c@sitedethib.com>
Mon, 29 Aug 2022 08:02:40 +0000 (10:02 +0200)
committeraescling <aescling+gitlab@cat.family>
Thu, 17 Nov 2022 02:59:18 +0000 (21:59 -0500)
Caused by using JSX features without importing React

app/javascript/mastodon/utils/icons.js

index be566032e064457f1c8a3323e3bff660947ee1e6..c3e362e39ad6a570b49083f09576230af393f7fb 100644 (file)
@@ -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 = (