fix format
This commit is contained in:
@@ -4,12 +4,12 @@ import { useStorage } from '@vueuse/core';
|
||||
import { ref } from 'vue';
|
||||
|
||||
const items = ref("");
|
||||
const minerals = ref("");
|
||||
const materials = ref("");
|
||||
const efficiency = useStorage('reprocess-efficiency', 0.55);
|
||||
|
||||
const result = ref<ReprocessItemValues[]>([]);
|
||||
|
||||
const send = async () => result.value = await reprocess(items.value, minerals.value, efficiency.value);
|
||||
const send = async () => result.value = await reprocess(items.value, materials.value, efficiency.value);
|
||||
|
||||
</script>
|
||||
|
||||
@@ -22,7 +22,7 @@ const send = async () => result.value = await reprocess(items.value, minerals.va
|
||||
</div>
|
||||
<div class="flex items-stretch">
|
||||
<ReprocessInput name="Item JSON" v-model="items" />
|
||||
<ReprocessInput name="Mineral JSON" v-model="minerals" />
|
||||
<ReprocessInput name="Materials JSON" v-model="materials" />
|
||||
</div>
|
||||
<div class="grid my-2">
|
||||
<button class="justify-self-end" @click="send">Send</button>
|
||||
|
||||
Reference in New Issue
Block a user