Skip to content

Commit

Permalink
fix lint issue (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Lu Ken <[email protected]>
  • Loading branch information
kenplusplus authored Dec 28, 2024
1 parent b3cf084 commit 65be831
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/GenTradeAgent/src/renderer/src/components/FootBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { PlugConnected20Filled, PlugDisconnected20Regular, Clock20Regular } from '@vicons/fluent'
import { PlugConnected20Filled, PlugDisconnected20Regular } from '@vicons/fluent'
import { NIcon, NSpace, NButton, NModal, NInput } from 'naive-ui'
import { useStore } from '../store'
import { agentServer } from '@renderer/server'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</template>

<script setup lang="ts">
import { onMounted, ref, nextTick } from 'vue'
import { onMounted, ref } from 'vue'
import { NInput, NLog } from 'naive-ui'
const placeholder_output =
Expand All @@ -43,7 +43,7 @@ const prompt = ref('')
onMounted(() => {})
const handleInput = (v: string) => {
//console.log(v)
console.log(v)
}
Expand Down
4 changes: 1 addition & 3 deletions src/GenTradeAgent/src/renderer/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ class AgentServer {
apiKey: string = 'e54d4431-5dab-474e-b71a-0db1fcb9e659'
tzName: string = ''
tzOffset: number = 0
store:Store<IState> = null

constructor() {}
store: Store<IState> | null = null

ping() {
const tsStart = new Date().getTime()
Expand Down

0 comments on commit 65be831

Please sign in to comment.