mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
feat: allow adding links via ip
This commit is contained in:
@@ -2,7 +2,7 @@ import { useForm } from '@inertiajs/react';
|
||||
import { route } from '@izzyjs/route/client';
|
||||
import { useMemo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import MantineFormLink from '~/components/form/form_link';
|
||||
import { FormLink } from '~/components/form/form_link';
|
||||
import useSearchParam from '~/hooks/use_search_param';
|
||||
import { isValidHttpUrl } from '~/lib/navigation';
|
||||
import { Collection } from '~/types/app';
|
||||
@@ -38,7 +38,7 @@ export default function CreateLinkPage({
|
||||
};
|
||||
|
||||
return (
|
||||
<MantineFormLink
|
||||
<FormLink
|
||||
title={t('link.create')}
|
||||
textSubmitButton={t('form.create')}
|
||||
canSubmit={canSubmit}
|
||||
|
||||
Reference in New Issue
Block a user