1
0
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:
Fredrik Strand Oseberg 2022-05-23 12:28:57 +02:00 committed by GitHub
parent d65ceeacc8
commit 68661e983d

View File

@ -16,7 +16,7 @@ import { useRequiredPathParam } from 'hooks/useRequiredPathParam';
const EditProjectRole = () => {
const { uiConfig } = useUiConfig();
const { setToastData, setToastApiError } = useToast();
const projectId = useRequiredPathParam('projectId');
const projectId = useRequiredPathParam('id');
const { role } = useProjectRole(projectId);
const navigate = useNavigate();