diff --git a/src/components/App/index.jsx b/src/components/App/index.jsx index ab12cf4e..e29bb20c 100644 --- a/src/components/App/index.jsx +++ b/src/components/App/index.jsx @@ -3,7 +3,7 @@ import React, { useState, useContext, useCallback -} from 'https://esm.sh/react@18'; +} from 'https://esm.sh/react@18.2.0'; import { useDispatch, useSelector } from 'https://esm.sh/react-redux@9'; import { useAuth0 } from 'https://esm.sh/@auth0/auth0-react@2'; import { usePageVisibility } from 'https://esm.sh/react-page-visibility@7'; diff --git a/src/components/Cashflow/index.jsx b/src/components/Cashflow/index.jsx index a90eb280..d4b1e81e 100644 --- a/src/components/Cashflow/index.jsx +++ b/src/components/Cashflow/index.jsx @@ -1,4 +1,8 @@ -import React, { useMemo, useState, useEffect } from 'https://esm.sh/react@18'; +import React, { + useMemo, + useState, + useEffect +} from 'https://esm.sh/react@18.2.0'; import { useSelector } from 'https://esm.sh/react-redux@9'; import Table from 'https://esm.sh/react-bootstrap@2/Table'; import { diff --git a/src/components/Chart/index.jsx b/src/components/Chart/index.jsx index a6b6e08d..da9282ef 100644 --- a/src/components/Chart/index.jsx +++ b/src/components/Chart/index.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; function Chart(props) { const { chartTop, chartBody, xLabels, maxAmount, intervalAmount } = props; diff --git a/src/components/DeleteDialog/index.jsx b/src/components/DeleteDialog/index.jsx index b7a9dd19..455b03fd 100644 --- a/src/components/DeleteDialog/index.jsx +++ b/src/components/DeleteDialog/index.jsx @@ -1,4 +1,4 @@ -import React, { useCallback } from 'https://esm.sh/react@18'; +import React, { useCallback } from 'https://esm.sh/react@18.2.0'; import { useDispatch, useSelector } from 'https://esm.sh/react-redux@9'; import Dialog from 'https://esm.sh/@mui/material@5.15.7/Dialog'; import DialogTitle from 'https://esm.sh/@mui/material@5.15.7/DialogTitle'; diff --git a/src/components/Form/Field.jsx b/src/components/Form/Field.jsx index cea24103..50d207c3 100644 --- a/src/components/Form/Field.jsx +++ b/src/components/Form/Field.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import classnames from 'https://esm.sh/classnames@2'; import { InfoIcon } from 'https://esm.sh/@primer/octicons-react@15'; import Button from 'https://esm.sh/react-bootstrap@2/Button'; diff --git a/src/components/Form/Span.jsx b/src/components/Form/Span.jsx index 65a71451..02490824 100644 --- a/src/components/Form/Span.jsx +++ b/src/components/Form/Span.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useSelector } from 'https://esm.sh/react-redux@9'; function Span() { diff --git a/src/components/Form/index.jsx b/src/components/Form/index.jsx index e49f6f3a..5b0e155a 100644 --- a/src/components/Form/index.jsx +++ b/src/components/Form/index.jsx @@ -1,4 +1,8 @@ -import React, { useEffect, useRef, useCallback } from 'https://esm.sh/react@18'; +import React, { + useEffect, + useRef, + useCallback +} from 'https://esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import Button from 'https://esm.sh/react-bootstrap@2/Button'; import { ZapIcon } from 'https://esm.sh/@primer/octicons-react@15'; diff --git a/src/components/GlobalStats/Budget.jsx b/src/components/GlobalStats/Budget.jsx index c1060eca..1a7c8ef4 100644 --- a/src/components/GlobalStats/Budget.jsx +++ b/src/components/GlobalStats/Budget.jsx @@ -2,7 +2,7 @@ import React, { useContext, useEffect, useState -} from 'https://esm.sh/react@18'; +} from 'https://esm.sh/react@18.2.0'; import Spinner from 'https://esm.sh/react-bootstrap@2/Spinner'; import Pagination from 'https://esm.sh/react-bootstrap@2/Pagination'; import toml from 'https://esm.sh/@ltd/j-toml@1'; diff --git a/src/components/GlobalStats/BudgetItem.jsx b/src/components/GlobalStats/BudgetItem.jsx index 9dc2d4dd..d34817ca 100644 --- a/src/components/GlobalStats/BudgetItem.jsx +++ b/src/components/GlobalStats/BudgetItem.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { usd } from 'https://esm.sh/@tridnguyen/money@1'; import { NoteIcon } from 'https://esm.sh/@primer/octicons-react@15'; import Popover from 'https://esm.sh/@mui/material@5.15.7/Popover'; diff --git a/src/components/GlobalStats/CashflowBar.jsx b/src/components/GlobalStats/CashflowBar.jsx index 65656492..1efa35da 100644 --- a/src/components/GlobalStats/CashflowBar.jsx +++ b/src/components/GlobalStats/CashflowBar.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useSelector } from 'https://esm.sh/react-redux@9'; import Popover from 'https://esm.sh/@mui/material@5.15.7/Popover'; import { diff --git a/src/components/GlobalStats/CashflowChart.jsx b/src/components/GlobalStats/CashflowChart.jsx index 9a17b252..289764eb 100644 --- a/src/components/GlobalStats/CashflowChart.jsx +++ b/src/components/GlobalStats/CashflowChart.jsx @@ -1,4 +1,4 @@ -import React, { useState, useEffect } from 'https://esm.sh/react@18'; +import React, { useState, useEffect } from 'https://esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import { format } from 'https://esm.sh/date-fns@2'; import Button from 'https://esm.sh/react-bootstrap@2/Button'; diff --git a/src/components/GlobalStats/CategoriesChart.jsx b/src/components/GlobalStats/CategoriesChart.jsx index 884e0d29..d0de7989 100644 --- a/src/components/GlobalStats/CategoriesChart.jsx +++ b/src/components/GlobalStats/CategoriesChart.jsx @@ -1,4 +1,4 @@ -import React from 'https:///esm.sh/react@18'; +import React from 'https:///esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import Button from 'https://esm.sh/react-bootstrap@2/Button'; import { diff --git a/src/components/GlobalStats/CategoryBar.jsx b/src/components/GlobalStats/CategoryBar.jsx index ad7659c5..59b9a553 100644 --- a/src/components/GlobalStats/CategoryBar.jsx +++ b/src/components/GlobalStats/CategoryBar.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import Popover from 'https://esm.sh/@mui/material@5.15.7/Popover'; import { usePopupState, diff --git a/src/components/GlobalStats/WeeklyAverages.jsx b/src/components/GlobalStats/WeeklyAverages.jsx index 02f79289..7dde2d91 100644 --- a/src/components/GlobalStats/WeeklyAverages.jsx +++ b/src/components/GlobalStats/WeeklyAverages.jsx @@ -1,4 +1,4 @@ -import React, { useMemo, useCallback } from 'https://esm.sh/react@18'; +import React, { useMemo, useCallback } from 'https://esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import produce from 'https://esm.sh/immer@9'; import Popover from 'https://esm.sh/@mui/material@5.15.7/Popover'; diff --git a/src/components/GlobalStats/index.jsx b/src/components/GlobalStats/index.jsx index 37d17b77..a43cadec 100644 --- a/src/components/GlobalStats/index.jsx +++ b/src/components/GlobalStats/index.jsx @@ -1,4 +1,4 @@ -import React, { useState } from 'https://esm.sh/react@18'; +import React, { useState } from 'https://esm.sh/react@18.2.0'; import { useDispatch } from 'https://esm.sh/react-redux@9'; import Tabs from 'https://esm.sh/@mui/material@5.15.7/Tabs'; import Tab from 'https://esm.sh/@mui/material@5.15.7/Tab'; diff --git a/src/components/Header/UserMenu.jsx b/src/components/Header/UserMenu.jsx index 7098254f..291be7bb 100644 --- a/src/components/Header/UserMenu.jsx +++ b/src/components/Header/UserMenu.jsx @@ -1,4 +1,4 @@ -import React, { useState } from 'https://esm.sh/react@18'; +import React, { useState } from 'https://esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import classnames from 'https://esm.sh/classnames@2'; import { useAuth0 } from 'https://esm.sh/@auth0/auth0-react@2'; diff --git a/src/components/Header/index.jsx b/src/components/Header/index.jsx index 99b796cf..c19494d2 100644 --- a/src/components/Header/index.jsx +++ b/src/components/Header/index.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import { useAuth0 } from 'https://esm.sh/@auth0/auth0-react@2'; import { setDisplayFrom } from '../../slices/app.js'; diff --git a/src/components/Login/index.jsx b/src/components/Login/index.jsx index cca2301f..81b3315e 100644 --- a/src/components/Login/index.jsx +++ b/src/components/Login/index.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useAuth0 } from 'https://esm.sh/@auth0/auth0-react@2'; import Button from 'https://esm.sh/react-bootstrap@2/Button'; diff --git a/src/components/Notification/index.jsx b/src/components/Notification/index.jsx index 1dd7d8a7..77c69c63 100644 --- a/src/components/Notification/index.jsx +++ b/src/components/Notification/index.jsx @@ -1,4 +1,4 @@ -import React, { useState, useEffect } from 'https://esm.sh/react@18'; +import React, { useState, useEffect } from 'https://esm.sh/react@18.2.0'; import { useSelector } from 'https://esm.sh/react-redux@9'; import Snackbar from 'https://esm.sh/@mui/material@5.15.7/Snackbar'; diff --git a/src/components/Transactions/CompactTransaction.jsx b/src/components/Transactions/CompactTransaction.jsx index c7eaf4b0..b675024c 100644 --- a/src/components/Transactions/CompactTransaction.jsx +++ b/src/components/Transactions/CompactTransaction.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useSelector } from 'https://esm.sh/react-redux@9'; import { ClockIcon } from 'https://esm.sh/@primer/octicons-react@15'; import { format } from 'https://esm.sh/date-fns@2'; diff --git a/src/components/Transactions/SearchResult.jsx b/src/components/Transactions/SearchResult.jsx index b29f60ec..d076849f 100644 --- a/src/components/Transactions/SearchResult.jsx +++ b/src/components/Transactions/SearchResult.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useSelector } from 'https://esm.sh/react-redux@9'; import { getSearchResult } from '../../selectors/transactions.js'; import { DISPLAY_DATE_WITH_DAY_FORMAT } from '../../util/constants.js'; diff --git a/src/components/Transactions/Transaction.jsx b/src/components/Transactions/Transaction.jsx index 7bfb5406..715c21ca 100644 --- a/src/components/Transactions/Transaction.jsx +++ b/src/components/Transactions/Transaction.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import { format } from 'https://esm.sh/date-fns@2'; import { utcToZonedTime } from 'https://esm.sh/date-fns-tz@1/esm'; diff --git a/src/components/Transactions/Week.jsx b/src/components/Transactions/Week.jsx index 5bb03a7b..4e0dc270 100644 --- a/src/components/Transactions/Week.jsx +++ b/src/components/Transactions/Week.jsx @@ -1,4 +1,8 @@ -import React, { useEffect, useCallback } from 'https://esm.sh/react@18'; +import React, { + useEffect, + useCallback, + useState +} from 'https://esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import { loadTransactions } from '../../slices/transactions.js'; import { diff --git a/src/components/Transactions/WeekCategory.jsx b/src/components/Transactions/WeekCategory.jsx index 1049ce86..79c8c9e8 100644 --- a/src/components/Transactions/WeekCategory.jsx +++ b/src/components/Transactions/WeekCategory.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { usd } from 'https://esm.sh/@tridnguyen/money@1'; import CompactTransaction from './CompactTransaction.js'; diff --git a/src/components/Transactions/WeekStats.jsx b/src/components/Transactions/WeekStats.jsx index d6d15c4e..1b387b17 100644 --- a/src/components/Transactions/WeekStats.jsx +++ b/src/components/Transactions/WeekStats.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useSelector } from 'https://esm.sh/react-redux@9'; import { usd } from 'https://esm.sh/@tridnguyen/money@1'; import WeekCategory from './WeekCategory.js'; diff --git a/src/components/Transactions/index.jsx b/src/components/Transactions/index.jsx index 6f01b89f..72294d42 100644 --- a/src/components/Transactions/index.jsx +++ b/src/components/Transactions/index.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useSelector } from 'https://esm.sh/react-redux@9'; import Spinner from 'https://esm.sh/react-bootstrap@2/Spinner'; import Week from './Week.js'; diff --git a/src/components/UserSettings/Recurring.jsx b/src/components/UserSettings/Recurring.jsx index b146bb2f..b940962c 100644 --- a/src/components/UserSettings/Recurring.jsx +++ b/src/components/UserSettings/Recurring.jsx @@ -1,4 +1,4 @@ -import React from 'https://esm.sh/react@18'; +import React from 'https://esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import Button from 'https://esm.sh/react-bootstrap@2/Button'; import { diff --git a/src/components/UserSettings/index.jsx b/src/components/UserSettings/index.jsx index 5592115a..23392fa0 100644 --- a/src/components/UserSettings/index.jsx +++ b/src/components/UserSettings/index.jsx @@ -1,4 +1,4 @@ -import React, { useState, useCallback } from 'https://esm.sh/react@18'; +import React, { useState, useCallback } from 'https://esm.sh/react@18.2.0'; import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9'; import Dialog from 'https://esm.sh/@mui/material@5.15.7/Dialog'; import DialogTitle from 'https://esm.sh/@mui/material@5.15.7/DialogTitle'; diff --git a/src/contexts/budget.js b/src/contexts/budget.js index 4e6f0438..a9111b42 100644 --- a/src/contexts/budget.js +++ b/src/contexts/budget.js @@ -1,4 +1,4 @@ -import { createContext } from 'https://esm.sh/react@18'; +import { createContext } from 'https://esm.sh/react@18.2.0'; export default createContext({ versions: [], diff --git a/src/contexts/octokit.js b/src/contexts/octokit.js index a32524f8..31ca84c9 100644 --- a/src/contexts/octokit.js +++ b/src/contexts/octokit.js @@ -1,3 +1,3 @@ -import { createContext } from 'https://esm.sh/react@18'; +import { createContext } from 'https://esm.sh/react@18.2.0'; export default createContext(); diff --git a/src/hooks/useToggle.js b/src/hooks/useToggle.js index 83e3565a..2d51be47 100644 --- a/src/hooks/useToggle.js +++ b/src/hooks/useToggle.js @@ -1,4 +1,4 @@ -import { useState } from 'https://esm.sh/react@18'; +import { useState } from 'https://esm.sh/react@18.2.0'; export default function useToggle(defaultValue = false) { var [state, setState] = useState(defaultValue); diff --git a/src/index.jsx b/src/index.jsx index b2f8b26b..7f5430c7 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -1,5 +1,5 @@ -import React from 'https://esm.sh/react@18'; -import { render } from 'https://esm.sh/react-dom@18'; +import React from 'https://esm.sh/react@18.2.0'; +import { render } from 'https://esm.sh/react-dom@18.2.0'; import { Provider } from 'https://esm.sh/react-redux@9'; import { Auth0Provider } from 'https://esm.sh/@auth0/auth0-react@2'; import store from './store.js';