]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: use strict equal (#3079)
authorManik Tyagi <tyagimanik77@gmail.com>
Wed, 3 Dec 2025 20:59:32 +0000 (02:29 +0530)
committerGitHub <noreply@github.com>
Wed, 3 Dec 2025 20:59:32 +0000 (21:59 +0100)
packages/pinia/src/store.ts

index 7ec0e17aeb0178dbf1755ee60e1c444de356886f..02d1ab5156a32cc0566eb8483fde49cd181f242c 100644 (file)
@@ -250,7 +250,7 @@ function createSetupStore<
       if (isListening) {
         debuggerEvents = event
         // avoid triggering this while the store is being built and the state is being set in pinia
-      } else if (isListening == false && !store._hotUpdating) {
+      } else if (isListening === false && !store._hotUpdating) {
         // let patch send all the events together later
         /* istanbul ignore else */
         if (Array.isArray(debuggerEvents)) {