Skip to content

Commit e503cbc

Browse files
Fixing map bug
1 parent 6fdea4b commit e503cbc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66

77
seeder:
88
image: cornellappdev/ai-dev:${IMAGE_TAG}
9-
command: ["npx", "prisma", "db", "seed"]
9+
command: ['npx', 'prisma', 'db', 'seed']
1010
env_file:
1111
- .env
1212
volumes:

scripts/prepopulateEmails.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PrismaClient } from '@prisma/client';
2-
import { upsertAppDevUser } from '@/app/utils/databaseUtils';
2+
import { upsertAppDevUser } from '../src/app/utils/databaseUtils';
33

44
const prisma = new PrismaClient();
55

src/app/components/chat/ChatMenuNavbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function ChatMenuNavbar() {
5151
throw new Error(await response.text());
5252
}
5353
const data = await response.json();
54-
setChatHistory(data);
54+
setChatHistory(data.chats);
5555
} catch (error) {
5656
toast.error(JSON.parse((error as Error).message).message);
5757
} finally {

0 commit comments

Comments
 (0)