feat: check rust handler in client component

This commit is contained in:
Valerio Ageno
2024-05-11 15:55:26 +02:00
parent b21d2eddc0
commit ef98cfed90
@@ -26,5 +26,9 @@ const Match = React.memo(function ({ id }: MatchProps) {
const route = router.routesById[location?.pathname]
if (route.options.hasHandler) {
console.log('Has rust handler')
}
return route.component()
})