mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-25 12:52:47 -07:00
feat: check rust handler in client component
This commit is contained in:
@@ -26,5 +26,9 @@ const Match = React.memo(function ({ id }: MatchProps) {
|
|||||||
|
|
||||||
const route = router.routesById[location?.pathname]
|
const route = router.routesById[location?.pathname]
|
||||||
|
|
||||||
|
if (route.options.hasHandler) {
|
||||||
|
console.log('Has rust handler')
|
||||||
|
}
|
||||||
|
|
||||||
return route.component()
|
return route.component()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user