Skip to content
Snippets Groups Projects
Unverified Commit 05671639 authored by Aleksander Nicacio da Silva's avatar Aleksander Nicacio da Silva Committed by GitHub
Browse files

fix: Fixed business hours route redirect (#28344)

parent a966518c
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ const BusinessHoursRouter = () => { ...@@ -26,7 +26,7 @@ const BusinessHoursRouter = () => {
type: 'default', type: 'default',
}); });
} }
}, [isSingleBH, router]); }, [isSingleBH, router, context, type]);
if (context === 'edit' || isSingleBH) { if (context === 'edit' || isSingleBH) {
return type ? <EditBusinessHoursPage type={type} id={id} /> : null; return type ? <EditBusinessHoursPage type={type} id={id} /> : null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment