mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-17 22:44:17 +00:00
Added onPageMount hook
This commit is contained in:
parent
be91d477f8
commit
c0356a1ff0
@ -3,6 +3,8 @@ import { Runtime } from "@ragestudio/vessel"
|
||||
import * as Router from "@ragestudio/vessel/router"
|
||||
import routesDeclarations from "@config/routes"
|
||||
|
||||
import onPageMount from "@hooks/onPageMount"
|
||||
|
||||
import { Helmet } from "react-helmet"
|
||||
import * as Sentry from "@sentry/browser"
|
||||
import { invoke } from "@tauri-apps/api/tauri"
|
||||
@ -130,6 +132,7 @@ class ComtyApp extends React.Component {
|
||||
<Router.Render
|
||||
declarations={routesDeclarations}
|
||||
staticRenders={ComtyApp.staticRenders}
|
||||
onPageMount={onPageMount}
|
||||
/>
|
||||
)}
|
||||
</Layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user