diff --git a/src/components/ui/PoweredByBanner.tsx b/src/components/ui/PoweredByBanner.tsx index 61acbe782..baa59f1bf 100644 --- a/src/components/ui/PoweredByBanner.tsx +++ b/src/components/ui/PoweredByBanner.tsx @@ -15,9 +15,6 @@ export function PoweredByBanner() { } return ; - // const inputElement = document.querySelector('.sendbird-message-input-wrapper'); - // - // return inputElement ? ReactDOM.createPortal(, inputElement) : null; } const InnerContainer = styled.div<{ chatBottomBackgroundColor?: string }>` diff --git a/src/utils/index.ts b/src/utils/index.ts index af5650674..48ab55c9f 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -185,7 +185,7 @@ export function hideChatBottomBanner(sdk: SendbirdChat): boolean { return applicationAttributes.includes(REMOVE_POWERED_BY); } - return false; + return true; } export const replaceWithRegex = (