refactoring: renamed actions tp billActions

This commit is contained in:
2024-01-05 14:30:44 +01:00
parent b02eafa309
commit f26aae7d66
6 changed files with 15 additions and 13 deletions

View File

@@ -4,7 +4,7 @@ import { DocumentIcon, TrashIcon } from "@heroicons/react/24/outline";
import { Bill } from "../lib/db-types";
import { FC } from "react";
import { useFormState } from "react-dom";
import { gotoHome, updateOrAddBill } from "../lib/actions";
import { gotoHome, updateOrAddBill } from "../lib/billActions";
// Next.js does not encode an utf-8 file name correctly when sending a form with a file attachment
// This is a workaround for that