X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Ftechniques%2FDialog.js;h=eefa9d7fba92bd1599cbf7cbd65fdf7316a764aa;hb=a1f2759cc827baaa49f1869b88f676d4dc39bf10;hp=b3181e2913a4aa99b20b30e0cba295bd6230e5e1;hpb=16662be0b3432d67307ae8c2bb798362d77bab99;p=alttp.git
diff --git a/resources/js/components/techniques/Dialog.js b/resources/js/components/techniques/Dialog.js
index b3181e2..eefa9d7 100644
--- a/resources/js/components/techniques/Dialog.js
+++ b/resources/js/components/techniques/Dialog.js
@@ -3,9 +3,11 @@ import React from 'react';
import { Modal } from 'react-bootstrap';
import { useTranslation } from 'react-i18next';
-import Form from './Form';
+import Loading from '../common/Loading';
import LanguageSwitcher from '../../app/LanguageSwitcher';
+const Form = React.lazy(() => import('./Form'));
+
const Dialog = ({
content,
language,
@@ -24,12 +26,14 @@ const Dialog = ({