Skip to content

Commit

Permalink
Pin @mui/material
Browse files Browse the repository at this point in the history
  • Loading branch information
tnguyen14 authored Feb 8, 2024
1 parent 83e80cd commit 6611c79
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 20 deletions.
10 changes: 5 additions & 5 deletions src/components/DeleteDialog/index.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, { useCallback } from 'https://esm.sh/react@18';
import { useDispatch, useSelector } from 'https://esm.sh/react-redux@9';
import Dialog from 'https://esm.sh/@mui/material@5/Dialog';
import DialogTitle from 'https://esm.sh/@mui/material@5/DialogTitle';
import DialogContent from 'https://esm.sh/@mui/material@5/DialogContent';
import DialogContentText from 'https://esm.sh/@mui/material@5/DialogContentText';
import DialogActions from 'https://esm.sh/@mui/material@5/DialogActions';
import Dialog from 'https://esm.sh/@mui/material@5.15.7/Dialog';
import DialogTitle from 'https://esm.sh/@mui/material@5.15.7/DialogTitle';
import DialogContent from 'https://esm.sh/@mui/material@5.15.7/DialogContent';
import DialogContentText from 'https://esm.sh/@mui/material@5.15.7/DialogContentText';
import DialogActions from 'https://esm.sh/@mui/material@5.15.7/DialogActions';
import Button from 'https://esm.sh/react-bootstrap@2/Button';
import CompactTransaction from '../Transactions/CompactTransaction.js';
import { cancelRemoveTransaction } from '../../slices/app.js';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/Field.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'https://esm.sh/react@18';
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';
import Tooltip from 'https://esm.sh/@mui/material@5/Tooltip';
import Tooltip from 'https://esm.sh/@mui/material@5.15.7/Tooltip';

const inputTypes = ['text', 'date', 'time', 'number', 'hidden', 'range'];
function Field(props) {
Expand Down
3 changes: 1 addition & 2 deletions src/components/GlobalStats/BudgetItem.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import React from 'https://esm.sh/react@18';
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/Popover';
import Popover from 'https://esm.sh/@mui/material@5.15.7/Popover';
import {
usePopupState,
bindPopover,
bindTrigger
} from 'https://esm.sh/material-ui-popup-state@5/hooks';
import classnames from 'https://esm.sh/classnames@2';

// const { usePopupState, bindPopover, bindTrigger } = PopupState;

Expand Down
2 changes: 1 addition & 1 deletion src/components/GlobalStats/CashflowBar.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'https://esm.sh/react@18';
import { useSelector } from 'https://esm.sh/react-redux@9';
import Popover from 'https://esm.sh/@mui/material@5/Popover';
import Popover from 'https://esm.sh/@mui/material@5.15.7/Popover';
import {
usePopupState,
bindPopover,
Expand Down
2 changes: 1 addition & 1 deletion src/components/GlobalStats/CategoryBar.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'https://esm.sh/react@18';
import Popover from 'https://esm.sh/@mui/material@5/Popover';
import Popover from 'https://esm.sh/@mui/material@5.15.7/Popover';
import {
usePopupState,
bindPopover,
Expand Down
2 changes: 1 addition & 1 deletion src/components/GlobalStats/WeeklyAverages.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useMemo, useCallback } from 'https://esm.sh/react@18';
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/Popover';
import Popover from 'https://esm.sh/@mui/material@5.15.7/Popover';
import {
usePopupState,
bindPopover,
Expand Down
6 changes: 3 additions & 3 deletions src/components/GlobalStats/index.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useState } from 'https://esm.sh/react@18';
import { useDispatch } from 'https://esm.sh/react-redux@9';
import Tabs from 'https://esm.sh/@mui/material@5/Tabs';
import Tab from 'https://esm.sh/@mui/material@5/Tab';
import Box from 'https://esm.sh/@mui/material@5/Box';
import Tabs from 'https://esm.sh/@mui/material@5.15.7/Tabs';
import Tab from 'https://esm.sh/@mui/material@5.15.7/Tab';
import Box from 'https://esm.sh/@mui/material@5.15.7/Box';
import WeeklyAverages from './WeeklyAverages.js';
import CategoriesChart from './CategoriesChart.js';
import CashflowChart from './CashflowChart.js';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Notification/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from 'https://esm.sh/react@18';
import { useSelector } from 'https://esm.sh/react-redux@9';
import Snackbar from 'https://esm.sh/@mui/material@5/Snackbar';
import Snackbar from 'https://esm.sh/@mui/material@5.15.7/Snackbar';

function Notification() {
const { content, autohide } = useSelector((state) => state.app.notification);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Transactions/Transaction.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
ClockIcon,
NoteIcon
} from 'https://esm.sh/@primer/octicons-react@15';
import Popover from 'https://esm.sh/@mui/material@5/Popover';
import Popover from 'https://esm.sh/@mui/material@5.15.7/Popover';
import {
usePopupState,
bindPopover,
Expand Down
8 changes: 4 additions & 4 deletions src/components/UserSettings/index.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useState, useCallback } from 'https://esm.sh/react@18';
import { useSelector, useDispatch } from 'https://esm.sh/react-redux@9';
import Dialog from 'https://esm.sh/@mui/material@5/Dialog';
import DialogTitle from 'https://esm.sh/@mui/material@5/DialogTitle';
import DialogContent from 'https://esm.sh/@mui/material@5/DialogContent';
import DialogActions from 'https://esm.sh/@mui/material@5/DialogActions';
import Dialog from 'https://esm.sh/@mui/material@5.15.7/Dialog';
import DialogTitle from 'https://esm.sh/@mui/material@5.15.7/DialogTitle';
import DialogContent from 'https://esm.sh/@mui/material@5.15.7/DialogContent';
import DialogActions from 'https://esm.sh/@mui/material@5.15.7/DialogActions';
import Button from 'https://esm.sh/react-bootstrap@2/Button';
import classnames from 'https://esm.sh/classnames@2';
import {
Expand Down

0 comments on commit 6611c79

Please sign in to comment.