From 0e861e92adde45c310b6be7025d4422e2cd5dabb Mon Sep 17 00:00:00 2001
From: Joshua <data@shard.wtf>
Date: Mon, 24 Apr 2023 10:23:52 +0200
Subject: [PATCH] use replaceAll instead to properly replace everything needed

---
 src/utils/snapshots/snapshot.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils/snapshots/snapshot.js b/src/utils/snapshots/snapshot.js
index 3f0c20b..dd0c9c3 100644
--- a/src/utils/snapshots/snapshot.js
+++ b/src/utils/snapshots/snapshot.js
@@ -64,7 +64,7 @@ const set_snapshot = (
         };
 
         throw new Error(
-          `Snapshot Difference found.\nPlease Update the Snapshot\n\n${json.message.replace(' ', '&nbsp;')}`
+          `Snapshot Difference found.\nPlease Update the Snapshot\n\n${json.message.replaceAll(' ', '&nbsp;')}`
         );
       });
     }