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) await Promise.all(fetchPromises)
} catch (error) { } catch (error) {
console.error(error) console.error(error)
addNotification({ addNotification({
@@ -109,10 +109,7 @@ import { computed, ref } from 'vue'
import { ButtonStyled } from '#ui/components' import { ButtonStyled } from '#ui/components'
import { useServerPermissions } from '#ui/composables/server-permissions' import { useServerPermissions } from '#ui/composables/server-permissions'
import { import { injectModrinthServerContext, injectNotificationManager } from '#ui/providers'
injectModrinthServerContext,
injectNotificationManager,
} from '#ui/providers'
const { addNotification } = injectNotificationManager() const { addNotification } = injectNotificationManager()
const { server } = injectModrinthServerContext() const { server } = injectModrinthServerContext()
@@ -885,10 +885,7 @@ watch(
watch( watch(
[worldId, currentPlatform, currentGameVersion], [worldId, currentPlatform, currentGameVersion],
([, newPlatform, newGameVersion], [, oldPlatform, oldGameVersion]) => { ([, newPlatform, newGameVersion], [, oldPlatform, oldGameVersion]) => {
if ( if (editingPlatform.value === oldPlatform && editingGameVersion.value === oldGameVersion) {
editingPlatform.value === oldPlatform &&
editingGameVersion.value === oldGameVersion
) {
editingPlatform.value = newPlatform editingPlatform.value = newPlatform
editingGameVersion.value = newGameVersion editingGameVersion.value = newGameVersion
} }
@@ -70,8 +70,8 @@
</div> </div>
</div> </div>
<span> <span>
The Java version your instance runs on. By default, only versions compatible with The Java version your instance runs on. By default, only versions compatible with your
your Minecraft version are shown. Minecraft version are shown.
</span> </span>
</div> </div>