mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-03 15:07:00 +00:00
Refactor deprecated property
This commit is contained in:
parent
8e6aea86ce
commit
62838bcaf9
@ -223,7 +223,9 @@ export const AddGroup = ({ address, open, setOpen }) => {
|
||||
fullScreen
|
||||
open={open}
|
||||
onClose={handleClose}
|
||||
TransitionComponent={Transition}
|
||||
slots={{
|
||||
transition: Transition,
|
||||
}}
|
||||
>
|
||||
<AppBar
|
||||
sx={{
|
||||
|
@ -205,7 +205,9 @@ export const ManageMembers = ({
|
||||
fullScreen
|
||||
open={open}
|
||||
onClose={handleClose}
|
||||
TransitionComponent={Transition}
|
||||
slots={{
|
||||
transition: Transition,
|
||||
}}
|
||||
>
|
||||
<AppBar
|
||||
sx={{
|
||||
|
@ -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>
|
||||
|
@ -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={{
|
||||
|
Loading…
x
Reference in New Issue
Block a user