Skip to content

Commit

Permalink
Updated npm dependencies for React and TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
shlok-007 committed Jul 22, 2024
1 parent a2c78ca commit 21e9e5e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
10 changes: 5 additions & 5 deletions client/package-lock.json

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

8 changes: 4 additions & 4 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
"author": "Shlok Kumar Shaw",
"private": true,
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@react-oauth/google": "^0.11.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.34",
"@types/react": "^18.2.7",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.2.4",
"@vercel/analytics": "^1.2.2",
"react": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.2.0",
"react-ga4": "^2.1.0",
"react-query": "^3.39.3",
"react-router-dom": "^6.12.1",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
"universal-cookie": "^7.1.4",
"web-vitals": "^2.1.4",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11"
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
Expand Down
8 changes: 7 additions & 1 deletion client/src/components/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
// }

// Toast.tsx

/// <reference types="react/canary" />

import React, { useEffect } from 'react';
import '../styles/toastStyle.css';

Expand All @@ -45,7 +48,10 @@ const Toast: React.FC<ToastProps> = ({ message, duration, onClose }) => {
}, [duration, onClose]);

return (
<div className="popup">{message}</div>
<div className="popup"
// popover="auto"

>{message}</div>
);
};

Expand Down
1 change: 1 addition & 0 deletions server/verifyOAuthJWT.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const verifyOAuthJWT = async (oauthJWT) => {
catch(e){
console.log("JWT verification failed");
await fetchOAuthJWKs();
return false;
}

}
Expand Down

0 comments on commit 21e9e5e

Please sign in to comment.