Skip to content

Commit

Permalink
rm console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
gobengo committed Nov 8, 2023
1 parent 160c4f6 commit be6dda0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/website/components/page-banner/page-banner-portal.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export function MessageBannerStyled({ children }) {
* that component (since it needs to be atop the page).
*/
export const PageBannerPortal = ({ id, contentsRef, contentsClassName = defaultContentsClassName }) => {
console.log('contentsRef', contentsRef);
return (
<div id={id}>
<div className={contentsClassName} ref={contentsRef}></div>
Expand All @@ -56,6 +55,5 @@ export const PageBanner = ({ children }) => {
<MessageBannerStyled>{children}</MessageBannerStyled>
</div>
);
console.log('PageBanner render', { container, bannerChild });
return <>{container && children && ReactDOM.createPortal(bannerChild, container)}</>;
};

0 comments on commit be6dda0

Please sign in to comment.