Skip to content

Commit

Permalink
client side bugs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abbi4code committed Sep 12, 2024
1 parent 4714b9c commit c31549f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 101 deletions.
88 changes: 0 additions & 88 deletions client/src/components/effects/icons.tsx

This file was deleted.

1 change: 0 additions & 1 deletion client/src/components/ui/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const slugs = [
];

export const EvervaultCard = ({
text,
className,
}: {
text?: string;
Expand Down
2 changes: 0 additions & 2 deletions client/src/components/ui/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ export const Menu = ({
export const ProductItem = ({
title,
description,
href,
src,
}: {
title: string;
description: string;
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/EachBlog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export default function EachBlog() {
if (blogsinput.createddata) {
date = blogsinput.createddata.split("T")[0];
}
let readtime:number;


if (blogsinput.createdtime) {
let readtime:number;
time = blogsinput.createdtime.split("T")[1].split(".")[0];
if (Number(time.split(":")[0]) > 12) {
readtime = Number(time.split(":")[0]) - 12;
Expand Down
6 changes: 0 additions & 6 deletions client/src/pages/Signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ export default function Signup() {
const navigate = useNavigate();
const [Signupinput, useSignupinput] = useRecoilState<Signupinput>(UserAtom);

// const [Signupinput, useSignupinput] = useState<Signupinput>({
// email: "",
// password: "",
// firstname: "",
// lastname: "",
// });
console.log(Signupinput)

const handlesubmit = async(e: React.FormEvent<HTMLFormElement>) => {
Expand Down
4 changes: 2 additions & 2 deletions server/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import express from "express"
import ruotes from "./routes/index"
import routes from "./routes/index"
import dotenv from "dotenv"
import cors from "cors"

Expand All @@ -21,7 +21,7 @@ app.get("/test",(req,res)=>{
res.send("testing works")
})

app.use('/api',ruotes)
app.use('/api',routes)



Expand Down

0 comments on commit c31549f

Please sign in to comment.