refactoring: actions moved to seprate dir
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
import { TrashIcon } from "@heroicons/react/24/outline";
|
||||
import { FC } from "react";
|
||||
import { BillingLocation } from "../lib/db-types";
|
||||
import { updateOrAddLocation } from "../lib/locationActions";
|
||||
import { updateOrAddLocation } from "../lib/actions/locationActions";
|
||||
import { useFormState } from "react-dom";
|
||||
import { gotoHome } from "../lib/billActions";
|
||||
import { gotoHome } from "../lib/actions/billActions";
|
||||
|
||||
export interface LocationEditFormProps {
|
||||
/** location which should be edited */
|
||||
|
||||
Reference in New Issue
Block a user