mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-11 00:33:04 +00:00
feat: allow adding links via ip
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useForm } from '@inertiajs/react';
|
||||
import { route } from '@izzyjs/route/client';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import MantineFormLink from '~/components/form/form_link';
|
||||
import { FormLink } from '~/components/form/form_link';
|
||||
import { LinkWithCollection } from '~/types/app';
|
||||
|
||||
export default function DeleteLinkPage({ link }: { link: LinkWithCollection }) {
|
||||
@@ -22,7 +22,7 @@ export default function DeleteLinkPage({ link }: { link: LinkWithCollection }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<MantineFormLink
|
||||
<FormLink
|
||||
title={t('link.delete')}
|
||||
textSubmitButton={t('form.delete')}
|
||||
canSubmit={!processing}
|
||||
|
||||
Reference in New Issue
Block a user