refactor: fix type

This commit is contained in:
Ruidy 2021-07-15 19:15:00 +02:00
parent 2b948f8271
commit 7731b1102e
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ const BillPage = () => {
}; };
const content = edit ? ( const content = edit ? (
<EditBillForm /> <EditBillForm bill={bill} />
) : sent ? ( ) : sent ? (
<BillSent /> <BillSent />
) : ( ) : (

View file

@ -14,7 +14,7 @@ export type BillFormType = {
export interface Bill { export interface Bill {
id: number; id: number;
phoneNumber: number; phoneNumber: string;
name: string; name: string;
price: number; price: number;
start: Date; start: Date;