feat: Add vercel.json

This commit is contained in:
2025-06-16 12:37:25 +03:00
parent d415441af8
commit 78800ee2ae
7 changed files with 16 additions and 9 deletions

View File

@@ -128,6 +128,10 @@ export const LinkedItemsContents = <
const [isLoading, setIsLoading] = useState<boolean>(true);
const [error, setError] = useState<string | null>(null);
useEffect(() => {
console.log(error);
}, [error]);
const parentResource = "route";
const childResource = "station";
@@ -219,7 +223,7 @@ export const LinkedItemsContents = <
authInstance
.post(`/${parentResource}/${parentId}/${childResource}`, requestData)
.then((response) => {
.then(() => {
const newItem = allItems.find((item) => item.id === selectedItemId);
if (newItem) {
const updatedList = insertAtPosition(