mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
No double check
This commit is contained in:
@@ -6120,7 +6120,7 @@ export function syncMesToSwipe(messageId = null) {
|
||||
}
|
||||
|
||||
const targetSwipeInfo = targetMessage.swipe_info[targetMessage.swipe_id];
|
||||
if (!targetSwipeInfo || typeof targetSwipeInfo !== 'object') {
|
||||
if (typeof targetSwipeInfo !== 'object') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user