bottom toasts
This commit is contained in:
parent
4e8f78751a
commit
a8551f4c71
@ -256,7 +256,7 @@ function createSocket(events) {
|
||||
ws.addEventListener('open', () => {
|
||||
toast.info({
|
||||
message: 'connected',
|
||||
position: 'topCenter',
|
||||
position: 'bottomCenter',
|
||||
});
|
||||
|
||||
// if (!account) events.loginPrompt();
|
||||
@ -280,7 +280,7 @@ function createSocket(events) {
|
||||
console.error('WebSocket closed', event);
|
||||
toast.warning({
|
||||
message: 'disconnected',
|
||||
position: 'topCenter',
|
||||
position: 'bottomCenter',
|
||||
});
|
||||
return setTimeout(connect, 5000);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user