File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
packages/node_modules/overmind/src Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,12 @@ export class Overmind<ThisConfig extends IConfiguration>
239239 this . eventHub = eventHub as EventEmitter < Events >
240240 this . mode = mode
241241
242+
243+ /*
244+ Expose the created actions
245+ */
246+ this . actions = this . getActions ( configuration . actions )
247+
242248 if ( mode . mode === MODE_SSR ) {
243249 return
244250 }
@@ -343,11 +349,6 @@ export class Overmind<ThisConfig extends IConfiguration>
343349 } )
344350 }
345351
346- /*
347- Expose the created actions
348- */
349- this . actions = this . getActions ( configuration . actions )
350-
351352 if ( mode . mode === MODE_DEFAULT && configuration . onInitialize ) {
352353 const onInitialize = this . createAction (
353354 'onInitialize' ,
You can’t perform that action at this time.
0 commit comments