File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11export default createMachine ( {
22 id : 'loading' ,
33 initial : 'idle' ,
4+ predictableActionArguments : true ,
45 states : {
56 idle : {
67 on : {
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ import { defineUnimportPreset } from 'unimport'
44export const setupAutoImports = ( isMinimal : boolean ) => {
55 const nuxt = useNuxt ( )
66
7- const isDev = nuxt . options . dev
8-
97 nuxt . hook ( 'autoImports:sources' , ( presets ) => {
108 // If minimal options is enabled import required
119 // things from @xstate /vue/lib/fsm or @xstate /fsm
@@ -43,7 +41,8 @@ export const setupAutoImports = (isMinimal: boolean) => {
4341}
4442
4543const xStateImports = [
46- 'createMachine'
44+ 'createMachine' ,
45+ 'assign'
4746]
4847
4948const xStateComposables = [
You can’t perform that action at this time.
0 commit comments