Skip to content

Commit

Permalink
fix(demo): fix vue demo index hooks import error
Browse files Browse the repository at this point in the history
  • Loading branch information
innocces committed Jul 25, 2024
1 parent cf3d957 commit 13bbdad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/taro-hooks-plugin-vue/src/pages/index/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
</template>

<script lang="ts">
import { useRouter, useModal, useEnv, useLayoutEffect } from 'taro-hooks';
import { useLayoutEffect } from '@taro-hooks/core';
import { useRouter, useModal, useEnv } from 'taro-hooks';
import { ref } from 'vue';
import { ENV_TYPE } from '@tarojs/taro';
import {
Expand Down

0 comments on commit 13bbdad

Please sign in to comment.