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> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref, computed, watch } from 'vue'; import { defineComponent, ref, computed } from 'vue';
import ECharts from 'vue-echarts'; import ECharts from 'vue-echarts';
import { EChartsOption } from 'echarts'; import { EChartsOption } from 'echarts';

View File

@ -37,7 +37,7 @@
import { formatPrice } from '@/shared/formatters'; import { formatPrice } from '@/shared/formatters';
import { Trade } from '@/types'; import { Trade } from '@/types';
import CustomTradeListEntry from '@/components/ftbot/CustomTradeListEntry.vue'; 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'; import { useBotStore } from '@/stores/ftbotwrapper';
export default defineComponent({ export default defineComponent({
@ -56,7 +56,6 @@ export default defineComponent({
stakeCurrencyDecimals: { default: 3, type: Number }, stakeCurrencyDecimals: { default: 3, type: Number },
}, },
setup(props) { setup(props) {
const root = getCurrentInstance();
const botStore = useBotStore(); const botStore = useBotStore();
const currentPage = ref(1); const currentPage = ref(1);
const filterText = ref(''); 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 { format, utcToZonedTime } from 'date-fns-tz';
import humanizeDuration from 'humanize-duration'; import humanizeDuration from 'humanize-duration';

View File

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