Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit 2c39f09

Browse files
committed
Merge pull request #225 from billyjanitsch/export-named
Also export unscoped action creators
2 parents ae13e47 + b605864 commit 2c39f09

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/index.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ function transition(method) {
1212
})
1313
}
1414

15-
export const routeActions = {
16-
push: transition('push'),
17-
replace: transition('replace'),
18-
go: transition('go'),
19-
goBack: transition('goBack'),
20-
goForward: transition('goForward')
21-
}
15+
export const push = transition('push')
16+
export const replace = transition('replace')
17+
export const go = transition('go')
18+
export const goBack = transition('goBack')
19+
export const goForward = transition('goForward')
20+
21+
export const routeActions = { push, replace, go, goBack, goForward }
2222

2323
function updateLocation(location) {
2424
return {

0 commit comments

Comments
 (0)