Skip to content

Commit

Permalink
chore: clean up some redundencies and unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Oct 5, 2020
1 parent 20f6803 commit 125abc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/villus/src/Mutation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineComponent, SetupContext } from 'vue-demi';
import { defineComponent } from 'vue-demi';
import { useMutation } from './useMutation';
import { normalizeChildren } from './utils';

Expand All @@ -10,7 +10,7 @@ export const Mutation = defineComponent({
required: true,
},
},
setup(props, ctx: SetupContext) {
setup(props, ctx) {
const { data, isFetching, isDone, error, execute } = useMutation({
query: props.query as string,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/villus/src/Query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineComponent, Ref, toRef, watch, watchEffect } from 'vue-demi';
import { defineComponent, Ref, toRef, watch } from 'vue-demi';
import { CachePolicy } from './types';
import { QueryComposable, useQuery } from './useQuery';
import { normalizeChildren } from './utils';
Expand Down

0 comments on commit 125abc9

Please sign in to comment.