Skip to content

Commit 1e0024c

Browse files
author
Patrick Jackson
committed
fix ktlint failures
1 parent 9a626d5 commit 1e0024c

File tree

1 file changed

+4
-4
lines changed
  • redux-kotlin-thunk/src/commonMain/kotlin/org/reduxkotlin

1 file changed

+4
-4
lines changed

redux-kotlin-thunk/src/commonMain/kotlin/org/reduxkotlin/Thunk.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ fun <State> createThunkMiddleware(extraArgument: Any? = null): ThunkMiddleware<S
2929
if (action is Function<*>) {
3030
@Suppress("UNCHECKED_CAST")
3131
val thunk = try {
32-
(action as Thunk<*>)
33-
} catch (e: ClassCastException) {
34-
throw IllegalArgumentException("Dispatching functions must use type Thunk:", e)
35-
}
32+
(action as Thunk<*>)
33+
} catch (e: ClassCastException) {
34+
throw IllegalArgumentException("Dispatching functions must use type Thunk:", e)
35+
}
3636
thunk(store.dispatch, store.getState, extraArgument)
3737
} else {
3838
next(action)

0 commit comments

Comments
 (0)