Skip to content

Commit

Permalink
fix(invoicer): use list instead of listUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdurmaz committed May 14, 2024
1 parent 9559576 commit 85f6f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/invoicer/src/pages/clients/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
import { Invoice } from "@/types";

export const ClientsPageEdit = () => {
const { listUrl } = useNavigation();
const { list } = useNavigation();

const { formProps, queryResult } = useForm({
redirect: false,
Expand Down Expand Up @@ -166,7 +166,7 @@ export const ClientsPageEdit = () => {
marginTop: "16px",
}}
onSuccess={() => {
listUrl("clients");
list("clients");
}}
>
Delete client
Expand Down

0 comments on commit 85f6f22

Please sign in to comment.