fix(ui): remove all option from activity feed for my-data (#11007)

* fix(ui): remove all option from activity feed for my-data

* fix silent signin issue
This commit is contained in:
Chirag Madlani 2023-04-12 14:27:50 +05:30 committed by GitHub
parent 32e9ae337f
commit 709fce6013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ const ActivityFeedList: FC<ActivityFeedListProp> = ({
() =>
isEntityFeed
? filterList.filter((f) => f.value === 'ALL' || f.value === 'MENTIONS')
: filterList.slice(),
: filterList.slice(1), // Do not show ALL option on my-data
[isEntityFeed]
);

View File

@ -281,7 +281,7 @@ export const AuthProvider = ({
startTokenExpiryTimer();
})
.catch((err) => {
if (err.message.includes('Frame window timeouted out')) {
if (err.message.includes('Frame window timed out')) {
silentSignInRetries = 0;
// eslint-disable-next-line @typescript-eslint/no-use-before-define
startTokenExpiryTimer();