Fix some lint errors

This commit is contained in:
Matthias 2022-10-19 07:59:45 +02:00
parent f8eb69429a
commit 03b4623619
4 changed files with 3 additions and 5 deletions

View File

@ -18,7 +18,7 @@
</template>
<script lang="ts">
import { defineComponent, ref, computed, watch } from 'vue';
import { defineComponent, ref, computed } from 'vue';
import ECharts from 'vue-echarts';
import { EChartsOption } from 'echarts';

View File

@ -37,7 +37,7 @@
import { formatPrice } from '@/shared/formatters';
import { Trade } from '@/types';
import CustomTradeListEntry from '@/components/ftbot/CustomTradeListEntry.vue';
import { defineComponent, computed, ref, getCurrentInstance } from 'vue';
import { defineComponent, computed, ref } from 'vue';
import { useBotStore } from '@/stores/ftbotwrapper';
export default defineComponent({
@ -56,7 +56,6 @@ export default defineComponent({
stakeCurrencyDecimals: { default: 3, type: Number },
},
setup(props) {
const root = getCurrentInstance();
const botStore = useBotStore();
const currentPage = ref(1);
const filterText = ref('');

View File

@ -1,4 +1,4 @@
import { parse, toDate, getHours } from 'date-fns';
import { parse, toDate } from 'date-fns';
import { format, utcToZonedTime } from 'date-fns-tz';
import humanizeDuration from 'humanize-duration';

View File

@ -1,6 +1,5 @@
import { defineStore } from 'pinia';
import { setTimezone } from '@/shared/formatters';
import { getCurrentTheme, getTheme } from '@/shared/themes';
import axios from 'axios';
import { UiVersion } from '@/types';