Skip to content

Commit bbea6ea

Browse files
committed
refactor: fix bug in refactor
1 parent 5b3f056 commit bbea6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database/optionsApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export function databasePlugin(
123123
const unbinds = rtdbUnbinds.get(this)!
124124

125125
if (unbinds[key]) {
126-
unbinds[key](options.wait)
126+
unbinds[key](options.reset)
127127
}
128128

129129
// FIXME: Create a single scopeEffect per instance that wraps thin call and stop the effect scope when `unbind()` is called

0 commit comments

Comments
 (0)