Added onPageMount hook

This commit is contained in:
SrGooglo 2025-06-16 23:16:43 +00:00
parent be91d477f8
commit c0356a1ff0

View File

@ -3,6 +3,8 @@ import { Runtime } from "@ragestudio/vessel"
import * as Router from "@ragestudio/vessel/router" import * as Router from "@ragestudio/vessel/router"
import routesDeclarations from "@config/routes" import routesDeclarations from "@config/routes"
import onPageMount from "@hooks/onPageMount"
import { Helmet } from "react-helmet" import { Helmet } from "react-helmet"
import * as Sentry from "@sentry/browser" import * as Sentry from "@sentry/browser"
import { invoke } from "@tauri-apps/api/tauri" import { invoke } from "@tauri-apps/api/tauri"
@ -130,6 +132,7 @@ class ComtyApp extends React.Component {
<Router.Render <Router.Render
declarations={routesDeclarations} declarations={routesDeclarations}
staticRenders={ComtyApp.staticRenders} staticRenders={ComtyApp.staticRenders}
onPageMount={onPageMount}
/> />
)} )}
</Layout> </Layout>