Skip to content

Commit

Permalink
set debug to false
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitmalhotra1420 committed Aug 23, 2024
1 parent 17108bc commit c225904
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ const GlobalStyle = createGlobalStyle`
/* deprecated */
/* Colors */
${Object.entries(blocksColors)
.map(([colorName, code]) => `--${colorName}: ${code};`)
.join('')}
.map(([colorName, code]) => `--${colorName}: ${code};`)
.join('')}
/* Font Family */
--font-family: 'FK Grotesk Neu';
Expand Down Expand Up @@ -147,15 +147,15 @@ const extendConsole = () => {
window.console = {};
}
if (window.console[level] === 'undefined' || !window.console[level] || window.console[level] === null) {
window.console[level] = function () { };
window.console[level] = function () {};
}
if (enabled) {
if (disabledConsoles[level]) {
window.console[level] = disabledConsoles[level];
}
} else {
disabledConsoles[level] = window.console[level];
window.console[level] = function () { };
window.console[level] = function () {};
}
};
} catch (e) {
Expand Down Expand Up @@ -356,7 +356,7 @@ export default function App() {
<ChatUIProvider
user={userPushSDKInstance}
theme={darkMode && darkChatTheme}
debug={true}
debug={false}
uiConfig={{
suppressToast: false,
}}
Expand Down Expand Up @@ -418,8 +418,8 @@ export default function App() {
isSidebarHidden
? GLOBALS.CONSTANTS.NO_LEFT_BAR_WIDTH
: sidebarCollapsed
? GLOBALS.CONSTANTS.COLLAPSABLE_RIGHT_BAR_WIDTH
: GLOBALS.CONSTANTS.LEFT_BAR_WIDTH
? GLOBALS.CONSTANTS.COLLAPSABLE_RIGHT_BAR_WIDTH
: GLOBALS.CONSTANTS.LEFT_BAR_WIDTH
}
>
{/* Shared among all pages, load universal things here */}
Expand Down

0 comments on commit c225904

Please sign in to comment.