feat: show add credit card chat icon only to logged in users (#5863)

This commit is contained in:
Yunus M 2024-09-06 11:21:07 +05:30 committed by GitHub
parent 23704b00ce
commit b9ab6d3fd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,6 +78,7 @@ function AppLayout(props: AppLayoutProps): JSX.Element {
const isCloudUserVal = isCloudUser();
const showAddCreditCardModal =
isLoggedIn &&
isChatSupportEnabled &&
isCloudUserVal &&
!isPremiumChatSupportEnabled &&