mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 11:25:52 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
11 lines
321 B
TypeScript
11 lines
321 B
TypeScript
import { useParams } from '@tanstack/react-router';
|
|
import { NewLinkButton } from '@/components/elements/NewButton';
|
|
|
|
const AddSubuserButton = () => {
|
|
const { id } = useParams({ strict: false });
|
|
|
|
return <NewLinkButton to={`/server/${id}/users/new`}>New user</NewLinkButton>;
|
|
};
|
|
|
|
export default AddSubuserButton;
|