From 6cb985b5523b34d29dd99c05b15c72c10ea838a3 Mon Sep 17 00:00:00 2001 From: Clockwork Date: Wed, 23 Aug 2023 12:59:19 +0300 Subject: [PATCH] fix: Remove unintentional vue type import (#3631) * fix: Remove unintentional vue type import * chore: add changelog entry --- changelog.md | 1 + ignite/pkg/cosmosgen/templates/composable/index.ts.tpl | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index f1e266e41a..5d10c475c5 100644 --- a/changelog.md +++ b/changelog.md @@ -24,6 +24,7 @@ - [#3598](https://github.com/ignite/cli/pull/3598) Fix consensus param keeper constructor key in `app.go` - [#3610](https://github.com/ignite/cli/pull/3610) Fix overflow issue of cosmos faucet in `pkg/cosmosfaucet/transfer.go` and `pkg/cosmosfaucet/cosmosfaucet.go` - [#3618](https://github.com/ignite/cli/pull/3618) Fix TS client generation import path issue +- [#3631](https://github.com/ignite/cli/pull/3631) Fix unnecessary vue import in hooks/composables template ## [`v0.27.0`](https://github.com/ignite/cli/releases/tag/v0.27.0) diff --git a/ignite/pkg/cosmosgen/templates/composable/index.ts.tpl b/ignite/pkg/cosmosgen/templates/composable/index.ts.tpl index 49e27bccc1..76eb8a6ad7 100644 --- a/ignite/pkg/cosmosgen/templates/composable/index.ts.tpl +++ b/ignite/pkg/cosmosgen/templates/composable/index.ts.tpl @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import { useQuery, type UseQueryOptions, useInfiniteQuery, type UseInfiniteQueryOptions } from "@tanstack/{{- .FrontendType -}}-query"; import { useClient } from '../useClient'; -import type { Ref } from 'vue' export default function use{{ camelCaseUpperSta $.Module.Pkg.Name }}() { const client = useClient(); @@ -118,4 +117,4 @@ export default function use{{ camelCaseUpperSta $.Module.Pkg.Name }}() { {{- end -}} {{- end }} } -} \ No newline at end of file +}