Skip to content

Commit

Permalink
Update dependencies (vercel#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob authored Jan 6, 2024
2 parents c368a09 + c35fae4 commit 9d878bf
Show file tree
Hide file tree
Showing 4 changed files with 860 additions and 707 deletions.
3 changes: 1 addition & 2 deletions components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export function Chat({ id, initialMessages, className }: ChatProps) {
},
onFinish() {
if (!path.includes('chat')) {
router.push(`/chat/${id}`, { shallow: true, scroll: false })
router.refresh()
window.history.pushState({}, '', `/chat/${id}`)
}
}
})
Expand Down
13 changes: 8 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
/** @type {import('next').NextConfig} */
module.exports = {
experimental: {
windowHistorySupport: true
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'avatars.githubusercontent.com',
port: '',
pathname: '**',
},
],
},
};
pathname: '**'
}
]
}
}
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tooltip": "^1.0.7",
"@vercel/analytics": "^1.1.1",
"@vercel/kv": "^1.0.0",
"@vercel/og": "^0.5.20",
"ai": "^2.2.25",
"@vercel/kv": "^1.0.1",
"@vercel/og": "^0.6.2",
"ai": "^2.2.31",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"clsx": "^2.1.0",
"focus-trap-react": "^10.2.3",
"framer-motion": "^10.16.12",
"geist": "^1.1.0",
"nanoid": "^5.0.3",
"next": "14.0.4-canary.17",
"next-auth": "5.0.0-beta.3",
"geist": "^1.2.0",
"nanoid": "^5.0.4",
"next": "14.0.5-canary.38",
"next-auth": "5.0.0-beta.4",
"next-themes": "^0.2.1",
"openai": "^4.20.0",
"openai": "^4.24.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1",
Expand All @@ -47,22 +47,22 @@
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.10.0",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"@types/react-syntax-highlighter": "^15.5.10",
"@typescript-eslint/parser": "^6.12.0",
"@types/node": "^20.10.6",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@types/react-syntax-highlighter": "^15.5.11",
"@typescript-eslint/parser": "^6.17.0",
"autoprefixer": "^10.4.16",
"eslint": "^8.54.0",
"eslint-config-next": "14.0.3",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-tailwindcss": "^3.13.0",
"postcss": "^8.4.31",
"prettier": "^3.1.0",
"tailwind-merge": "^2.0.0",
"tailwindcss": "^3.3.5",
"eslint": "^8.56.0",
"eslint-config-next": "14.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-tailwindcss": "^3.13.1",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"tailwind-merge": "^2.2.0",
"tailwindcss": "^3.4.0",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.3.2"
"typescript": "^5.3.3"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 9d878bf

Please sign in to comment.