Skip to content

Commit bb517ea

Browse files
fix: return Upstash variable in env example, import formatting
1 parent 76d1ca9 commit bb517ea

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
OPENAI_API_KEY = ""
2+
UPSTASH_REDIS_REST_URL=""
3+
UPSTASH_REDIS_REST_TOKEN=""
24
NEXT_PUBLIC_APP_URL="http://localhost:3000"

src/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {Panels} from '@/components/panels';
2-
import {Toolbar} from '@/components/toolbar';
1+
import { Panels } from '@/components/panels';
2+
import { Toolbar } from '@/components/toolbar';
33

44
export default function Home() {
55
return (

src/components/object.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
AccordionItem,
55
AccordionTrigger,
66
} from './shared/accordion';
7-
import {Icon, type IconProps} from './shared/icon';
7+
import { Icon, type IconProps } from './shared/icon';
88

99
type ObjectPropName = IconProps['name']
1010

src/components/sidebar.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
import {connectionStringAtom, editorSchemaAtom, hasConfiguredDatabaseAtom,} from '@/utils/atoms';
2-
import {connect} from '@/utils/connect';
3-
import {useQuery} from '@tanstack/react-query';
4-
import {useAtom} from 'jotai';
1+
import {
2+
connectionStringAtom,
3+
editorSchemaAtom,
4+
hasConfiguredDatabaseAtom
5+
} from '@/utils/atoms';
6+
import { connect } from '@/utils/connect';
7+
import { useQuery } from '@tanstack/react-query';
8+
import { useAtom } from 'jotai';
59
import React from 'react';
6-
import {toast} from 'react-hot-toast';
7-
import {Object} from './object';
10+
import { toast } from 'react-hot-toast';
11+
import { Object } from './object';
812

913
export const Sidebar = () => {
1014
const [connectionString] = useAtom(connectionStringAtom);

0 commit comments

Comments
 (0)