Refactor deprecated property

This commit is contained in:
Nicola Benaglia 2025-05-27 08:40:50 +02:00
parent 8e6aea86ce
commit 62838bcaf9
4 changed files with 11 additions and 4 deletions

View File

@ -223,7 +223,9 @@ export const AddGroup = ({ address, open, setOpen }) => {
fullScreen
open={open}
onClose={handleClose}
TransitionComponent={Transition}
slots={{
transition: Transition,
}}
>
<AppBar
sx={{

View File

@ -205,7 +205,9 @@ export const ManageMembers = ({
fullScreen
open={open}
onClose={handleClose}
TransitionComponent={Transition}
slots={{
transition: Transition,
}}
>
<AppBar
sx={{

View File

@ -162,7 +162,9 @@ export const Settings = ({ open, setOpen, rawWallet }) => {
fullScreen
open={open}
onClose={handleClose}
TransitionComponent={Transition}
slots={{
transition: Transition,
}}
>
<AppBar sx={{ position: 'relative' }}>
<Toolbar>

View File

@ -29,7 +29,6 @@ import AccountCircleIcon from '@mui/icons-material/AccountCircle';
import { Spacer } from '../../common/Spacer';
import { formatTimestamp } from '../../utils/time';
import CloseFullscreenIcon from '@mui/icons-material/CloseFullscreen';
import SearchIcon from '@mui/icons-material/Search';
import {
executeEvent,
subscribeToEvent,
@ -65,6 +64,7 @@ export const UserLookup = ({ isOpenDrawerLookup, setIsOpenDrawerLookup }) => {
const [isLoadingUser, setIsLoadingUser] = useState(false);
const [isLoadingPayments, setIsLoadingPayments] = useState(false);
const [payments, setPayments] = useState([]);
const lookupFunc = useCallback(
async (messageAddressOrName) => {
try {
@ -481,6 +481,7 @@ export const UserLookup = ({ isOpenDrawerLookup, setIsOpenDrawerLookup }) => {
/>
</Box>
)}
{!isLoadingPayments && addressInfo && (
<Card
sx={{