Skip to content

Commit

Permalink
[AC-4543] chore: update default visibility status of banner (#402)
Browse files Browse the repository at this point in the history
## Changes
- update default visibility status of banner

ticket: [AC-4543]

## Additional Notes
- 

## Checklist
Before requesting a code review, please check the following:
- [x] **[Required]** CI has passed all checks.
- [x] **[Required]** A self-review has been conducted to ensure there
are no minor mistakes.
- [x] **[Required]** Unnecessary comments/debugging code have been
removed.
- [x] **[Required]** All requirements specified in the ticket have been
accurately implemented.
- [x] Ensure the ticket has been updated with the sprint, status, and
story points.


[AC-4543]:
https://sendbird.atlassian.net/browse/AC-4543?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
bang9 authored Dec 17, 2024
1 parent bc82954 commit 6472049
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/components/ui/PoweredByBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ export function PoweredByBanner() {
}

return <Banner />;
// const inputElement = document.querySelector('.sendbird-message-input-wrapper');
//
// return inputElement ? ReactDOM.createPortal(<Banner />, inputElement) : null;
}

const InnerContainer = styled.div<{ chatBottomBackgroundColor?: string }>`
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export function hideChatBottomBanner(sdk: SendbirdChat): boolean {
return applicationAttributes.includes(REMOVE_POWERED_BY);
}

return false;
return true;
}

export const replaceWithRegex = <T>(
Expand Down

0 comments on commit 6472049

Please sign in to comment.