Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ToBinio committed Jul 10, 2024
1 parent 172ba54 commit ee473de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {ref, computed} from "vue";
import {get_max_memory} from "@/helpers/jre.js";
import {handleError} from "@/store/notifications.js";
import { ref, computed } from 'vue'
import { get_max_memory } from '@/helpers/jre.js'
import { handleError } from '@/store/notifications.js'

export default async function () {
const maxMemory = ref(Math.floor((await get_max_memory().catch(handleError)) / 1024))
Expand All @@ -17,5 +17,5 @@ export default async function () {
return points
})

return {maxMemory, snapPoints}
return { maxMemory, snapPoints }
}
4 changes: 2 additions & 2 deletions apps/app-frontend/src/pages/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { mixpanel_opt_out_tracking, mixpanel_opt_in_tracking } from '@/helpers/m
import { open } from '@tauri-apps/api/dialog'
import { getOS } from '@/helpers/utils.js'
import { getVersion } from '@tauri-apps/api/app'
import useMemorySlider from "@/composables/useMemorySlider.js";
import useMemorySlider from '@/composables/useMemorySlider.js'
const pageOptions = ['Home', 'Library']
Expand All @@ -32,7 +32,7 @@ const fetchSettings = await accessSettings().catch(handleError)
const settings = ref(fetchSettings)
const settingsDir = ref(settings.value.loaded_config_dir)
const {maxMemory, snapPoints} = await useMemorySlider()
const { maxMemory, snapPoints } = await useMemorySlider()
watch(
settings,
Expand Down
2 changes: 1 addition & 1 deletion apps/app-frontend/src/pages/instance/Options.vue
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ import { mixpanel_track } from '@/helpers/mixpanel'
import { useTheming } from '@/store/theme.js'
import { useBreadcrumbs } from '@/store/breadcrumbs'
import ModpackVersionModal from '@/components/ui/ModpackVersionModal.vue'
import useMemorySlider from "@/composables/useMemorySlider.js";
import useMemorySlider from '@/composables/useMemorySlider.js'
const breadcrumbs = useBreadcrumbs()
Expand Down

0 comments on commit ee473de

Please sign in to comment.