mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Fix props
This commit is contained in:
parent
3127b69bfb
commit
bbffb234af
3 changed files with 7 additions and 7 deletions
2
.env
2
.env
|
|
@ -20,6 +20,6 @@ NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL=/dashboard
|
|||
NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL=/dashboard
|
||||
|
||||
# ClickHouse
|
||||
CLICKHOUSE_URL=your_clickhouse_url
|
||||
CLICKHOUSE_URL=https://fake.us-west-2.aws.clickhouse.cloud:1234
|
||||
CLICKHOUSE_USERNAME=default
|
||||
CLICKHOUSE_PASSWORD=fake-your_clickhouse_password
|
||||
|
|
|
|||
2
.github/workflows/CI.yml
vendored
2
.github/workflows/CI.yml
vendored
|
|
@ -13,7 +13,6 @@ env:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -39,7 +38,6 @@ jobs:
|
|||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
|
|
@ -6,10 +6,12 @@ import { Env } from '@/lib/server/env';
|
|||
|
||||
import { DeepLink } from './DeepLink';
|
||||
|
||||
export default async function Page(params: {
|
||||
searchParams: { state?: string };
|
||||
}) {
|
||||
const { state } = await params.searchParams;
|
||||
type Props = {
|
||||
searchParams: Promise<{ state?: string }>;
|
||||
};
|
||||
|
||||
export default async function Page(props: Props) {
|
||||
const { state } = await props.searchParams;
|
||||
|
||||
if (!state) {
|
||||
redirect(`/sign-in`);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue