mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: path param (#1011)
This commit is contained in:
parent
d65ceeacc8
commit
68661e983d
@ -16,7 +16,7 @@ import { useRequiredPathParam } from 'hooks/useRequiredPathParam';
|
|||||||
const EditProjectRole = () => {
|
const EditProjectRole = () => {
|
||||||
const { uiConfig } = useUiConfig();
|
const { uiConfig } = useUiConfig();
|
||||||
const { setToastData, setToastApiError } = useToast();
|
const { setToastData, setToastApiError } = useToast();
|
||||||
const projectId = useRequiredPathParam('projectId');
|
const projectId = useRequiredPathParam('id');
|
||||||
const { role } = useProjectRole(projectId);
|
const { role } = useProjectRole(projectId);
|
||||||
|
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
Loading…
Reference in New Issue
Block a user