mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
refactor: fix some lintter erros
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user