upgrade firebase, nextjs versions

This commit is contained in:
mantikoros 2022-08-30 20:54:29 -05:00
parent c202c5de68
commit ec90b041ee
3 changed files with 382 additions and 391 deletions

View File

@ -179,12 +179,12 @@ function BuyPanel(props: {
const [inputRef, focusAmountInput] = useFocus() const [inputRef, focusAmountInput] = useFocus()
useEffect(() => { // useEffect(() => {
if (selected) { // if (selected) {
if (isIOS()) window.scrollTo(0, window.scrollY + 200) // if (isIOS()) window.scrollTo(0, window.scrollY + 200)
focusAmountInput() // focusAmountInput()
} // }
}, [selected, focusAmountInput]) // }, [selected, focusAmountInput])
function onBetChoice(choice: 'YES' | 'NO') { function onBetChoice(choice: 'YES' | 'NO') {
setOutcome(choice) setOutcome(choice)

View File

@ -41,12 +41,12 @@
"cors": "2.8.5", "cors": "2.8.5",
"daisyui": "1.16.4", "daisyui": "1.16.4",
"dayjs": "1.10.7", "dayjs": "1.10.7",
"firebase": "9.6.0", "firebase": "9.9.3",
"gridjs": "5.0.2", "gridjs": "5.0.2",
"gridjs-react": "5.0.2", "gridjs-react": "5.0.2",
"lodash": "4.17.21", "lodash": "4.17.21",
"nanoid": "^3.3.4", "nanoid": "^3.3.4",
"next": "12.2.2", "next": "12.2.5",
"node-fetch": "3.2.4", "node-fetch": "3.2.4",
"react": "17.0.2", "react": "17.0.2",
"react-confetti": "6.0.1", "react-confetti": "6.0.1",

757
yarn.lock

File diff suppressed because it is too large Load Diff