Skip to content

Commit

Permalink
Merge pull request #3 from hive-one/deploy-fixes
Browse files Browse the repository at this point in the history
fix: deployment issues
  • Loading branch information
rishimohan authored Sep 22, 2023
2 parents fcbaae7 + 673e1d5 commit ba88113
Show file tree
Hide file tree
Showing 51 changed files with 631 additions and 2,947 deletions.
3 changes: 3 additions & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
"@stripe/react-stripe-js": "^1.10.0",
"@stripe/stripe-js": "^1.35.0",
"@tanstack/react-query": "^4.3.9",
"@tiptap/extension-link": "^2.1.11",
"@tiptap/react": "^2.1.11",
"@tiptap/starter-kit": "^2.1.11",
"@tremor/react": "^2.0.0",
"@types/turndown": "^5.0.1",
"@upstash/ratelimit": "^0.4.3",
Expand Down
1,137 changes: 341 additions & 796 deletions apps/web/pages/[user].tsx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/web/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AuthContextProvider } from "context/AuthContext";
import { AuthContextProvider } from "context/authContext";
import React from "react";

import { trpc } from "@calcom/trpc/react";
Expand Down
12 changes: 6 additions & 6 deletions apps/web/pages/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ export default function Signup({ prepopulateFormValues, token, orgSlug, orgAutoA

const signUp: SubmitHandler<FormValues> = async (data) => {
console.info("signup data", data);
const { result, error } = firebaseSignUp(data?.email, data?.password);
if (error) {
if (error.code === "auth/email-already-in-use") alert("Email already in use 😕");
if (error.code === "auth/weak-password") alert("Password should be at least 6 characters 😕");
if (error.code === "auth/invalid-email") alert("Invalid email 😕");
const res: any = firebaseSignUp(data?.email, data?.password);
if (res?.error) {
if (res?.error.code === "auth/email-already-in-use") alert("Email already in use 😕");
if (res?.error.code === "auth/weak-password") alert("Password should be at least 6 characters 😕");
if (res?.error.code === "auth/invalid-email") alert("Invalid email 😕");
return;
}
console.info({ result, error });
console.info({ res });

await fetch("/api/auth/signup", {
body: JSON.stringify({
Expand Down
92 changes: 0 additions & 92 deletions apps/web/pages/ui/button.js

This file was deleted.

11 changes: 0 additions & 11 deletions apps/web/pages/ui/container.js

This file was deleted.

35 changes: 0 additions & 35 deletions apps/web/pages/ui/dialog.js

This file was deleted.

94 changes: 0 additions & 94 deletions apps/web/pages/ui/dropdown.js

This file was deleted.

42 changes: 0 additions & 42 deletions apps/web/pages/ui/fayaz/Button.js

This file was deleted.

57 changes: 0 additions & 57 deletions apps/web/pages/ui/fayaz/PhotoUpload.js

This file was deleted.

18 changes: 0 additions & 18 deletions apps/web/pages/ui/fayaz/RemoveButton.js

This file was deleted.

Loading

0 comments on commit ba88113

Please sign in to comment.