Introduce isStagingServer util method
This commit is contained in:
parent
4cdb6fab08
commit
cd44a7a033
24 changed files with 80 additions and 71 deletions
|
@ -14,6 +14,7 @@ import { TargetedMessageSource } from '../ducks/conversationsEnums';
|
|||
import { useConversationsActions } from '../ducks/conversations';
|
||||
import { useToastActions } from '../ducks/toast';
|
||||
import { strictAssert } from '../../util/assert';
|
||||
import { isStagingServer } from '../../util/isStagingServer';
|
||||
import { ToastType } from '../../types/Toast';
|
||||
import { getNavTabsCollapsed } from '../selectors/items';
|
||||
import { useItemsActions } from '../ducks/items';
|
||||
|
@ -146,6 +147,7 @@ export const SmartChatsTab = memo(function SmartChatsTab() {
|
|||
<ChatsTab
|
||||
otherTabsUnreadStats={otherTabsUnreadStats}
|
||||
i18n={i18n}
|
||||
isStaging={isStagingServer()}
|
||||
hasFailedStorySends={hasFailedStorySends}
|
||||
hasPendingUpdate={hasPendingUpdate}
|
||||
navTabsCollapsed={navTabsCollapsed}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue