From 8138549f64403874eb7c7ddfbde1cc2cc2c03695 Mon Sep 17 00:00:00 2001
From: Max Nanis
Date: Mon, 23 Jun 2025 17:20:31 +0700
Subject: Typescript validation finally passes.

---
 src/main.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/main.tsx')

diff --git a/src/main.tsx b/src/main.tsx
index 678f9a0..3dfd07a 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -2,7 +2,6 @@ import {createRoot} from 'react-dom/client'
 import {Widget} from './Widget'
 import {App} from "@/models/app.ts"
 import {Provider} from 'react-redux'
-import React from 'react'
 
 import {store} from './store'
 import {setApp} from "@/models/appSlice.ts";
@@ -27,7 +26,7 @@ import {setApp} from "@/models/appSlice.ts";
         leaderboard: Boolean(currentScript?.getAttribute("data-leaderboard")) || false,
 
         currentPage: "offerwall"
-    }
+    } as App
     store.dispatch(setApp(settings))
 
     // Avoid adding the widget multiple times
-- 
cgit v1.2.3

