1
0
forked from noxious/client

Removed client notif. Server sends one already.

This commit is contained in:
Dennis Postma 2025-02-05 15:12:52 +01:00
parent f258c65403
commit 7ff1de4018

View File

@ -58,10 +58,6 @@ defineExpose({ open: () => modalRef.value?.open() })
async function submit() {
gameStore.connection?.emit('gm:map:create', { name: name.value, width: width.value, height: height.value }, async (response: Map | false) => {
if (!response) {
gameStore.addNotification({
title: 'Error',
message: 'Failed to create map.'
})
return
}