@@ -36,7 +36,6 @@ import { LiveSocket } from "phoenix_live_view";
3636
3737import "./widgets/lib/sentry" ;
3838import {
39- renderBuilderWidget ,
4039 renderEventPage ,
4140 renderGroupTournamentPage ,
4241 renderGameThreejsPage ,
@@ -53,6 +52,7 @@ import {
5352 renderSettingPage ,
5453 renderStairwayGamePage ,
5554 renderStreamPage ,
55+ renderTaskPreviewPage ,
5656 renderTournamentAdminPage ,
5757 renderTournamentPage ,
5858 renderTournamentEditPage ,
@@ -103,7 +103,6 @@ window.addEventListener("phx:page-loading-stop", (_info) => NProgress.done());
103103
104104liveSocket . connect ( ) ;
105105
106- const builderWidgetRoot = document . getElementById ( "builder-widget-root" ) ;
107106const gameWidgetRoot = document . getElementById ( "game-widget-root" ) ;
108107const gameThreejsRoot = document . getElementById ( "game-threejs-root" ) ;
109108const heatmapRoot = document . getElementById ( "heatmap-root" ) ;
@@ -127,6 +126,7 @@ const hallOfFameRoot = document.getElementById("hall-of-fame-root");
127126const headToHeadRoot = document . getElementById ( "head-to-head-root" ) ;
128127const seasonsRoot = document . getElementById ( "seasons-root" ) ;
129128const seasonShowRoot = document . getElementById ( "season-show-root" ) ;
129+ const taskPreviewRoot = document . getElementById ( "task-preview-root" ) ;
130130
131131if ( gameWidgetRoot ) {
132132 renderGameWidget ( gameWidgetRoot ) ;
@@ -136,10 +136,6 @@ if (gameThreejsRoot) {
136136 renderGameThreejsPage ( gameThreejsRoot ) ;
137137}
138138
139- if ( builderWidgetRoot ) {
140- renderBuilderWidget ( builderWidgetRoot ) ;
141- }
142-
143139if ( heatmapRoot ) {
144140 renderHeatmapWidget ( heatmapRoot ) ;
145141}
@@ -223,3 +219,7 @@ if (seasonsRoot) {
223219if ( seasonShowRoot ) {
224220 renderSeasonShowPage ( seasonShowRoot ) ;
225221}
222+
223+ if ( taskPreviewRoot ) {
224+ renderTaskPreviewPage ( taskPreviewRoot ) ;
225+ }
0 commit comments