Skip to content

Commit

Permalink
Update dependencies in package.json and pnpm-lock.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
minpeter committed Jan 24, 2024
1 parent 2c4f667 commit 9846b48
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"react-router-dom": "^6.20.0",
"redux": "^4.2.1",
"typescript": "^5.3.2",
"vite": "^5.0.4",
"vite": "^5.0.12",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.2.1"
"vite-tsconfig-paths": "^4.3.1"
},
"scripts": {
"dev": "vite",
Expand Down
46 changes: 23 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Outlet, Route, Routes, useNavigate } from 'react-router-dom';
import { useState, useEffect } from 'react';
import toast, { Toaster, useToasterStore } from "react-hot-toast";
import toast, { Toaster, useToasterStore } from 'react-hot-toast';
import { Navbar } from './components';
import * as S from './styles/app';
import { Analytics } from '@vercel/analytics/react';
Expand Down Expand Up @@ -37,7 +37,7 @@ export default function App() {
}

const { toasts } = useToasterStore();
useEffect(() => {
useEffect(() => {
toasts
.filter((t) => t.visible) // Only consider visible toasts
.filter((_, i) => i >= TOAST_LIMIT) // Is toast index over limit
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"jsx": "react-jsx",
"types": ["vite/client"]
},
"include": ["src/**/*", "vite.config.ts"]
"include": ["src/**/*", "vite.config.mts"]
}
File renamed without changes.

0 comments on commit 9846b48

Please sign in to comment.