fix(licensing): keep hash target revealed after next-stage updates
This commit is contained in:
@@ -462,7 +462,7 @@ export default function InvestmentPath(path: Path) {
|
||||
reveal();
|
||||
window.addEventListener('hashchange', reveal);
|
||||
return () => window.removeEventListener('hashchange', reveal);
|
||||
}, [path.case.id, path.context_opportunity, stageCodes]);
|
||||
}, [path.case.id, path.context_opportunity, stageCodes, path.next?.code]);
|
||||
const { auth, flash } = usePage<{
|
||||
auth: { user: { id: number } };
|
||||
flash: { success?: string };
|
||||
|
||||
Reference in New Issue
Block a user