I\'m working in a nextjs app. I\'d like to dynamically import a function dependent on the path that\'s provided as a prop to a component. Today, I use a map of id
id