Merge commit 'c4f47adb49663f24ee80d9174ab24431a8c165c0' into glitch-soc/merge-upstream

Too many conflicts to list, because of webpack → vite migration.
This commit is contained in:
Claire
2025-05-24 12:37:51 +02:00
159 changed files with 2373 additions and 7784 deletions

View File

@@ -1,4 +1,3 @@
import '@/entrypoints/public-path';
import { createRoot } from 'react-dom/client';
import Rails from '@rails/ujs';
@@ -273,7 +272,7 @@ async function mountReactComponent(element: Element) {
);
const { default: Component } = (await import(
`@/flavours/glitch/components/admin/${componentName}`
`@/flavours/glitch/components/admin/${componentName}.jsx`
)) as { default: React.ComponentType };
const root = createRoot(element);