fix: lint

This commit is contained in:
Calum H. (IMB11)
2026-06-26 17:09:22 +01:00
parent 9ab9fe994f
commit db225b757d
4 changed files with 4 additions and 11 deletions
@@ -170,7 +170,6 @@ async function show({ serverId, tabIndex, tabId }: ShowOptions) {
}
await Promise.all(fetchPromises)
} catch (error) {
console.error(error)
addNotification({
@@ -109,10 +109,7 @@ import { computed, ref } from 'vue'
import { ButtonStyled } from '#ui/components'
import { useServerPermissions } from '#ui/composables/server-permissions'
import {
injectModrinthServerContext,
injectNotificationManager,
} from '#ui/providers'
import { injectModrinthServerContext, injectNotificationManager } from '#ui/providers'
const { addNotification } = injectNotificationManager()
const { server } = injectModrinthServerContext()
@@ -885,10 +885,7 @@ watch(
watch(
[worldId, currentPlatform, currentGameVersion],
([, newPlatform, newGameVersion], [, oldPlatform, oldGameVersion]) => {
if (
editingPlatform.value === oldPlatform &&
editingGameVersion.value === oldGameVersion
) {
if (editingPlatform.value === oldPlatform && editingGameVersion.value === oldGameVersion) {
editingPlatform.value = newPlatform
editingGameVersion.value = newGameVersion
}
@@ -70,8 +70,8 @@
</div>
</div>
<span>
The Java version your instance runs on. By default, only versions compatible with
your Minecraft version are shown.
The Java version your instance runs on. By default, only versions compatible with your
Minecraft version are shown.
</span>
</div>