refactor: fix some lintter erros

This commit is contained in:
Sonny
2024-05-25 17:19:26 +02:00
committed by Sonny
parent 09700a1916
commit 8b161dcf49
7 changed files with 31 additions and 21 deletions

View File

@@ -40,7 +40,9 @@ export default function EditLinkPage({
}, [data, processing]);
const handleSubmit = () => {
const { method, url } = route('link.edit', { params: { id: link.id } });
const { method, url } = route('link.edit', {
params: { id: link.id.toString() },
});
submit(method, url);
};