Skip to content

Commit

Permalink
fix: prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SilveerDusk committed May 24, 2024
1 parent 809e179 commit 262ba39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion backend/routes/userRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ router.get("/:userid", async (req: Request, res: Response) => {
connectDB();

try {

// Use findById correctly with the id parameter from the request
const user = await User.findById(req.params.userid);

Expand Down
9 changes: 1 addition & 8 deletions frontend/src/components/Friends_List_Component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,7 @@ const Friends_List: React.FC<Props> = ({

return (
<Box width="100%">
<Box
padding="4"
borderRadius="md"
top="0"
zIndex="1"
bg="white"

>
<Box padding="4" borderRadius="md" top="0" zIndex="1" bg="white">
<FormControl>
<Stack direction="row" spacing={4}>
<Input
Expand Down

0 comments on commit 262ba39

Please sign in to comment.