diff options
| author | Max Nanis | 2025-06-23 17:20:31 +0700 |
|---|---|---|
| committer | Max Nanis | 2025-06-23 17:20:31 +0700 |
| commit | 8138549f64403874eb7c7ddfbde1cc2cc2c03695 (patch) | |
| tree | ff16ff5bf7b0a5454fd181d178a6f799b9141d64 /src/main.tsx | |
| parent | 5e8b1b89bfffd0202bc6c5f64aac943053d79d32 (diff) | |
| download | panel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.tar.gz panel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.zip | |
Typescript validation finally passes.
Diffstat (limited to 'src/main.tsx')
| -rw-r--r-- | src/main.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
