#402·router

useMatch with multiple paths

Author: damianonCreated Jun 29, 2020Updated Feb 20, 2024

I want a match on multiple possible paths. eg. '/profile' and '/user' but don't see any mention of this and the signature of the hook also only accepts a single string for path