mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-24 17:51:14 +02:00
* fix: group project access inconsistencies * fix relative path * wip * refactor: make project tabs work as routes * refactor: finish refactoring project assign forms * fix: update snaps * fix: update snaps * add some basic cypress e2e tests to groups * add remaining cypress e2e tests for group CRUD * add groups e2e to gh workflows * refactor: simplify useMemo usage * add GO_BACK navigate const * fix: remove trailing slash on user creation request Co-authored-by: olav <mail@olav.io> Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
15 lines
441 B
TypeScript
15 lines
441 B
TypeScript
import { useNavigate } from 'react-router-dom';
|
|
import { CreateUnleashContext } from 'component/context/CreateUnleashContext/CreateUnleashContext';
|
|
import { GO_BACK } from 'constants/navigate';
|
|
|
|
export const CreateUnleashContextPage = () => {
|
|
const navigate = useNavigate();
|
|
|
|
return (
|
|
<CreateUnleashContext
|
|
onSubmit={() => navigate('/context')}
|
|
onCancel={() => navigate(GO_BACK)}
|
|
/>
|
|
);
|
|
};
|