Skip to content

Commit 42ac8ee

Browse files
author
wulimao
committed
chore: lint code
1 parent 7ced7ec commit 42ac8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vanilla.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const createStoreImpl: CreateStoreImpl = (createState) => {
7373
if (!Object.is(nextState, state)) {
7474
const previousState = state
7575
state =
76-
replace ?? ( typeof nextState !== 'object' || nextState === null )
76+
replace ?? (typeof nextState !== 'object' || nextState === null)
7777
? (nextState as TState)
7878
: Object.assign({}, state, nextState)
7979
listeners.forEach((listener) => listener(state, previousState))

0 commit comments

Comments
 (0)