Skip to content

Commit

Permalink
Feat/re styling (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
neopromic authored Nov 27, 2024
2 parents eed60ad + 1ed05b5 commit 46c3932
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
4 changes: 1 addition & 3 deletions app/_components/user-avatar-button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable react-hooks/rules-of-hooks */
"use client";

import { redirect } from "next/navigation";
Expand All @@ -16,6 +15,7 @@ import { useRouter } from "next/navigation";
const UserAvatarButton = () => {
const { user } = useUser();
const { signOut } = useClerk();
const router = useRouter();

const handleLogout = async () => {
await signOut();
Expand All @@ -28,8 +28,6 @@ const UserAvatarButton = () => {
return null;
}

const router = useRouter();

return (
<>
<DropdownMenu>
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ version: "3"
services:
postgres:
image: postgres:latest
container_name: finance-ai-database
container_name: jupiter-finance-database
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: finance-ai
POSTGRES_DB: jupiter-finance
ports:
- "5432:5432"
volumes:
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"name": "finance-ai",
"name": "jupiter-finance",
"version": "1.1.0",
"private": true,
"author": {
"email": "[email protected]",
"name": "Wesley Souza",
"url": "https://dev-wesleysouza.vercel.app/"
},
"scripts": {
"dev": "next dev",
"build": "prisma generate && prisma migrate deploy && next build",
Expand Down Expand Up @@ -113,4 +118,4 @@
"@semantic-release/github"
]
}
}
}
12 changes: 3 additions & 9 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 46c3932

Please sign in to comment.