X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fjs%2Fcomponents%2Ftournament%2FScoreChartDialog.js;h=2a04d1d049b7dc8032610ff47147b8f06e13fc49;hb=eb6958dcb4a2f01b9997da12aee558a54a994a46;hp=958fcedea052786ca13f8d43d7e53ec0e1e03819;hpb=68d65789e2b64cd32d778c1e69a346521d2e38d6;p=alttp.git
diff --git a/resources/js/components/tournament/ScoreChartDialog.js b/resources/js/components/tournament/ScoreChartDialog.js
index 958fced..2a04d1d 100644
--- a/resources/js/components/tournament/ScoreChartDialog.js
+++ b/resources/js/components/tournament/ScoreChartDialog.js
@@ -3,9 +3,11 @@ import React from 'react';
import { Button, Modal } from 'react-bootstrap';
import { withTranslation } from 'react-i18next';
-import ScoreChart from './ScoreChart';
+import Loading from '../common/Loading';
import i18n from '../../i18n';
+const ScoreChart = React.lazy(() => import('./ScoreChart'));
+
const ScoreChartDialog = ({
onHide,
show,
@@ -18,7 +20,9 @@ const ScoreChartDialog = ({
-
+ }>
+
+