fix marketplace
This commit is contained in:
@ -1529,11 +1529,11 @@ export default function Marketplace() {
|
|||||||
p: '1.6vw',
|
p: '1.6vw',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{ username ? (
|
{playerServer && username ? (
|
||||||
<PlayerInventory
|
<PlayerInventory
|
||||||
ref={inventoryRef}
|
ref={inventoryRef}
|
||||||
username={'Yana'}
|
username={username}
|
||||||
serverIp={'minecraft.survival.popa-popa.ru'}
|
serverIp={playerServer.ip}
|
||||||
onSellSuccess={() => {
|
onSellSuccess={() => {
|
||||||
if (selectedServer) loadMarketItems(selectedServer.ip, 1);
|
if (selectedServer) loadMarketItems(selectedServer.ip, 1);
|
||||||
showNotification('Предмет успешно выставлен на продажу!', 'success');
|
showNotification('Предмет успешно выставлен на продажу!', 'success');
|
||||||
|
|||||||
Reference in New Issue
Block a user