diff --git a/src/js/react.js b/src/js/react.js index ad23295c..77e5e550 100644 --- a/src/js/react.js +++ b/src/js/react.js @@ -6,7 +6,7 @@ export function useRoute(defaultConfig) { throw new Error('Ziggy error: missing configuration. Ensure that a `Ziggy` variable is defined globally or pass a config object into `useRoute()`.'); } - // Return the route function with provided or default config + // Return the route function with the provided or default config return (name, params, absolute, config = defaultConfig) => route(name, params, absolute, config); }