mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
ci: test
This commit is contained in:
@@ -5,10 +5,8 @@ import { Card, CardDescription, CardTitle } from "@/components/ui/card"
|
||||
import { ColoredText } from "@/components/ui/colored-text"
|
||||
import config from "@/lib/config"
|
||||
import { DEFAULT_CURRENCIES, DEFAULT_SETTINGS } from "@/models/defaults"
|
||||
import { getSelfHostedUser } from "@/models/users"
|
||||
import { ShieldAlert } from "lucide-react"
|
||||
import Image from "next/image"
|
||||
import { redirect } from "next/navigation"
|
||||
import { selfHostedGetStartedAction } from "../actions"
|
||||
|
||||
export default async function SelfHostedWelcomePage() {
|
||||
@@ -30,10 +28,10 @@ export default async function SelfHostedWelcomePage() {
|
||||
)
|
||||
}
|
||||
|
||||
const user = await getSelfHostedUser()
|
||||
if (user) {
|
||||
redirect(config.selfHosted.redirectUrl)
|
||||
}
|
||||
// const user = await getSelfHostedUser()
|
||||
// if (user) {
|
||||
// redirect(config.selfHosted.redirectUrl)
|
||||
// }
|
||||
|
||||
return (
|
||||
<Card className="w-full max-w-xl mx-auto p-8 flex flex-col items-center justify-center gap-4">
|
||||
|
||||
@@ -5,7 +5,7 @@ export default function AgentWindow({ title, children }: { title: string; childr
|
||||
<div className="border-2 border-purple-500 bg-purple-100 rounded-md overflow-hidden">
|
||||
<div className="flex flex-row gap-1 items-center font-bold text-xs bg-purple-200 text-purple-800 p-1">
|
||||
<Bot className="w-4 h-4" />
|
||||
<span>Agent called: {title}</span>
|
||||
<span>Tool called: {title}</span>
|
||||
</div>
|
||||
<div className="p-4">{children}</div>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"dev": "next dev -p 7331 --turbopack",
|
||||
"build": "next build",
|
||||
"start": "prisma generate && prisma migrate deploy && next start",
|
||||
"start": "prisma migrate deploy && next start",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user