This commit is contained in:
Atridad Lahiji 2023-11-11 22:28:18 -07:00
parent 618f1c9736
commit 46e7db380c
No known key found for this signature in database
3 changed files with 837 additions and 329 deletions

View file

@ -210,7 +210,7 @@ const VoteUI = () => {
userId: item.userId,
roomId: item.roomId,
roomName: item.roomName,
topicName: item.storyName,
storyName: item.storyName,
scale: item.scale,
votes: item.votes,
};
@ -221,7 +221,7 @@ const VoteUI = () => {
userId: roomFromDb.userId,
roomId: roomFromDb.id,
roomName: roomFromDb.roomName,
topicName: storyNameText,
storyName: storyNameText,
scale: roomScale,
votes: votesFromDb.map((vote) => {
return {
@ -337,7 +337,7 @@ const VoteUI = () => {
<div className="card card-compact bg-base-100 shadow-xl">
<div className="card-body">
<h2 className="card-title mx-auto">
Topic: {roomFromDb.storyName}
Story: {roomFromDb.storyName}
</h2>
<ul className="p-0 flex flex-row flex-wrap justify-center items-center text-ceter gap-4">
@ -449,11 +449,11 @@ const VoteUI = () => {
}}
/>
<label className="label">{"Topic Name:"} </label>
<label className="label">{"Story Name:"} </label>
<input
type="text"
placeholder="Topic Name"
placeholder="Story Name"
className="input input-bordered"
value={storyNameText}
onChange={(event) => {

View file

@ -14,22 +14,22 @@
"init:env": "cp .env.example .env"
},
"dependencies": {
"@clerk/nextjs": "^4.26.2",
"@clerk/nextjs": "^4.27.1",
"@clerk/themes": "^1.7.9",
"@libsql/client": "^0.3.6",
"@paralleldrive/cuid2": "^2.2.2",
"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/react-query": "^5.4.3",
"@unkey/api": "^0.11.0",
"@tanstack/react-query": "^5.8.2",
"@unkey/api": "^0.12.0",
"@upstash/ratelimit": "^0.4.4",
"@upstash/redis": "^1.24.3",
"@upstash/redis": "^1.25.1",
"@vercel/analytics": "^1.1.1",
"ably": "^1.2.47",
"autoprefixer": "^10.4.16",
"csv42": "^5.0.0",
"dotenv": "^16.3.1",
"drizzle-orm": "^0.28.6",
"next": "^14.0.1",
"drizzle-orm": "^0.29.0",
"next": "^14.0.2",
"nextjs-cors": "^2.1.2",
"postcss": "^8.4.31",
"react": "18.2.0",
@ -40,18 +40,18 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.0.5",
"@types/eslint": "^8.44.6",
"@types/node": "^20.8.10",
"@types/react": "^18.2.34",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"better-sqlite3": "^9.0.0",
"@tanstack/eslint-plugin-query": "^5.6.0",
"@types/eslint": "^8.44.7",
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"better-sqlite3": "^9.1.1",
"bufferutil": "^4.0.8",
"daisyui": "^3.9.4",
"drizzle-kit": "^0.19.13",
"eslint": "^8.52.0",
"eslint-config-next": "^14.0.1",
"drizzle-kit": "^0.20.1",
"eslint": "^8.53.0",
"eslint-config-next": "^14.0.2",
"tailwindcss": "^3.3.5",
"typescript": "^5.2.2",
"utf-8-validate": "6.0.3"

1124
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff