@stoker-platform/web-app 0.5.134 → 0.5.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/package.json +2 -1
- package/src/main.tsx +5 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoker-platform/web-app",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.136",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"scripts": {
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
"remark-gfm": "^4.0.1",
|
|
88
88
|
"tailwind-merge": "^2.6.1",
|
|
89
89
|
"tailwindcss-animate": "^1.0.7",
|
|
90
|
+
"vite": "^7.3.3",
|
|
90
91
|
"vite-plugin-eslint": "^1.8.1",
|
|
91
92
|
"zod": "^3.25.76"
|
|
92
93
|
},
|
package/src/main.tsx
CHANGED
|
@@ -106,7 +106,11 @@ function Main() {
|
|
|
106
106
|
const getRoutes = () => {
|
|
107
107
|
const routes = loadRoutes()
|
|
108
108
|
setRoutes(routes)
|
|
109
|
-
|
|
109
|
+
if (window.innerWidth >= 1024) {
|
|
110
|
+
runViewTransition(() => setMode("app"))
|
|
111
|
+
} else {
|
|
112
|
+
setMode("app")
|
|
113
|
+
}
|
|
110
114
|
}
|
|
111
115
|
|
|
112
116
|
const initialize = async () => {
|