Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
fix(lint): prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
floriaaan authored and Anatole-Godard committed Jan 30, 2024
1 parent b8f0ebe commit 1802500
Show file tree
Hide file tree
Showing 7 changed files with 35,125 additions and 145 deletions.
3 changes: 1 addition & 2 deletions apps/web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { RootProviders } from "@/app/providers";
import { Toaster } from "@/components/ui/toaster";
import { cn } from "@/lib/utils";
import { Inter } from "next/font/google";
import NextTopLoader from 'nextjs-toploader';

import NextTopLoader from "nextjs-toploader";

const inter = Inter({ subsets: ["latin"] });

Expand Down
2 changes: 1 addition & 1 deletion apps/web/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"components": "@/components",
"utils": "@/lib/utils"
}
}
}
1 change: 0 additions & 1 deletion apps/web/components/location/sheet-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export const LocationSheetContent = ({ closeModal = () => {} }) => {
};

/// RESTAURANT RELATED -------------------------


const [search, setSearch] = useState("");

Expand Down
118 changes: 0 additions & 118 deletions apps/web/hooks/useAPI.ts

This file was deleted.

35,102 changes: 35,101 additions & 1 deletion apps/web/public/assets/lottie/checkout-preparation.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/web/types/delivery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ export type DeliveryPerson = {
location: [number, number];

deliveries?: Delivery[];
};
};
42 changes: 21 additions & 21 deletions apps/web/types/payment.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
export enum PaymentStatus {
PENDING = "PENDING",
APPROVED = "APPROVED",
REJECTED = "REJECTED",
}
export type User = {
id: string;
name: string;
email: string;
};
export type Payment = {
id: string;
total: number;
status: PaymentStatus;
user: User;
user_id: string;
created_at: Date | string;
updated_at: Date | string;
};
PENDING = "PENDING",
APPROVED = "APPROVED",
REJECTED = "REJECTED",
}

export type User = {
id: string;
name: string;
email: string;
};

export type Payment = {
id: string;
total: number;
status: PaymentStatus;
user: User;
user_id: string;

created_at: Date | string;
updated_at: Date | string;
};

0 comments on commit 1802500

Please sign in to comment.