From 468ed8b75c45b3d713449ced8466bab22227cb9f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 23 Jun 2022 15:53:31 -0700 Subject: Limit to 3 tokens --- modern/src/common/components/NativeInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src') diff --git a/modern/src/common/components/NativeInterface.js b/modern/src/common/components/NativeInterface.js index 75b954a8..aee4c042 100644 --- a/modern/src/common/components/NativeInterface.js +++ b/modern/src/common/components/NativeInterface.js @@ -40,7 +40,7 @@ const NativeInterface = () => { ...user, attributes: { ...user.attributes, - notificationTokens: [...tokens, token].join(','), + notificationTokens: [...tokens.slice(-2), token].join(','), }, }; -- cgit v1.2.3