From 8631f5acf0c3d6603cc7b5e9be54ac0054571e40 Mon Sep 17 00:00:00 2001 From: Sai Gayathri Mantha <47597129+gayathrimantha@users.noreply.github.com> Date: Sun, 15 Oct 2023 00:23:24 +0530 Subject: [PATCH] Update react.js --- src/js/react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }