Skip to content

Commit

Permalink
Simplified redux related imports, fixed #3
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-podzigun committed Nov 11, 2021
1 parent 7e2c823 commit 56bfd79
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 9 additions & 0 deletions redux/src/main/scala/scommons/react/redux/package.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package scommons.react

import io.github.shogowada.scalajs.reactjs

package object redux {

type Action = reactjs.redux.Action
type Dispatch = reactjs.redux.Redux.Dispatch
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package scommons.react.redux.task

import io.github.shogowada.scalajs.reactjs.redux.Action
import scommons.react.redux.Action

trait TaskAction extends Action {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package scommons.react.showcase.app.counter

import io.github.shogowada.scalajs.reactjs.redux.Action
import io.github.shogowada.scalajs.reactjs.redux.Redux.Dispatch
import scommons.react.redux._
import scommons.react.redux.task.{FutureTask, TaskAction}
import scommons.react.showcase.app.counter.CounterActions._

Expand Down

0 comments on commit 56bfd79

Please sign in to comment.