mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-05 16:06:58 +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
|
fullScreen
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
TransitionComponent={Transition}
|
slots={{
|
||||||
|
transition: Transition,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<AppBar
|
<AppBar
|
||||||
sx={{
|
sx={{
|
||||||
|
@ -205,7 +205,9 @@ export const ManageMembers = ({
|
|||||||
fullScreen
|
fullScreen
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
TransitionComponent={Transition}
|
slots={{
|
||||||
|
transition: Transition,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<AppBar
|
<AppBar
|
||||||
sx={{
|
sx={{
|
||||||
|
@ -162,7 +162,9 @@ export const Settings = ({ open, setOpen, rawWallet }) => {
|
|||||||
fullScreen
|
fullScreen
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
TransitionComponent={Transition}
|
slots={{
|
||||||
|
transition: Transition,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<AppBar sx={{ position: 'relative' }}>
|
<AppBar sx={{ position: 'relative' }}>
|
||||||
<Toolbar>
|
<Toolbar>
|
||||||
|
@ -29,7 +29,6 @@ import AccountCircleIcon from '@mui/icons-material/AccountCircle';
|
|||||||
import { Spacer } from '../../common/Spacer';
|
import { Spacer } from '../../common/Spacer';
|
||||||
import { formatTimestamp } from '../../utils/time';
|
import { formatTimestamp } from '../../utils/time';
|
||||||
import CloseFullscreenIcon from '@mui/icons-material/CloseFullscreen';
|
import CloseFullscreenIcon from '@mui/icons-material/CloseFullscreen';
|
||||||
import SearchIcon from '@mui/icons-material/Search';
|
|
||||||
import {
|
import {
|
||||||
executeEvent,
|
executeEvent,
|
||||||
subscribeToEvent,
|
subscribeToEvent,
|
||||||
@ -65,6 +64,7 @@ export const UserLookup = ({ isOpenDrawerLookup, setIsOpenDrawerLookup }) => {
|
|||||||
const [isLoadingUser, setIsLoadingUser] = useState(false);
|
const [isLoadingUser, setIsLoadingUser] = useState(false);
|
||||||
const [isLoadingPayments, setIsLoadingPayments] = useState(false);
|
const [isLoadingPayments, setIsLoadingPayments] = useState(false);
|
||||||
const [payments, setPayments] = useState([]);
|
const [payments, setPayments] = useState([]);
|
||||||
|
|
||||||
const lookupFunc = useCallback(
|
const lookupFunc = useCallback(
|
||||||
async (messageAddressOrName) => {
|
async (messageAddressOrName) => {
|
||||||
try {
|
try {
|
||||||
@ -481,6 +481,7 @@ export const UserLookup = ({ isOpenDrawerLookup, setIsOpenDrawerLookup }) => {
|
|||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{!isLoadingPayments && addressInfo && (
|
{!isLoadingPayments && addressInfo && (
|
||||||
<Card
|
<Card
|
||||||
sx={{
|
sx={{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user