Skip to content

Commit 867d42e

Browse files
committed
Use the default import instead
1 parent 0b3c908 commit 867d42e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

print/plugins/hal-json-vuex.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HalJsonVuexPlugin } from 'hal-json-vuex'
1+
import HalJsonVuex from 'hal-json-vuex'
22
import axios from 'axios'
33
import { createStore } from 'vuex'
44
import {
@@ -29,7 +29,7 @@ export default defineNuxtPlugin((nuxtApp) => {
2929
addErrorLogInterceptor(axiosInstance)
3030

3131
// create and inject API
32-
const api = HalJsonVuexPlugin<RootEndpoint, any>(store, axiosInstance, {
32+
const api = HalJsonVuex<RootEndpoint, any>(store, axiosInstance, {
3333
forceRequestedSelfLink: true,
3434
})
3535

0 commit comments

Comments
 (0)