Skip to content

Commit b10b12a

Browse files
authored
chore: Add a logger to samples for debugging (#1086)
* Add a logger to samples for debugging
1 parent cbc47ca commit b10b12a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/testing/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const defaultProps: InitialParams = {
1414

1515
function GroupChannelPage() {
1616
const props = useConfigParams(defaultProps);
17-
return <GroupChannelApp {...props} breakpoint={/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)} />;
17+
return <GroupChannelApp {...props} breakpoint={/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)} config={{ logLevel: 'all' }} />;
1818
}
1919

2020
function OpenChannelPage() {

src/stories/apps/GroupChannelApp.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export const Default = (args): ReactElement => {
145145
<App
146146
{...args}
147147
breakpoint={args.breakpoint === 'Use user agent' ? /iPhone|iPad|iPod|Android/i.test(navigator.userAgent) : args.breakpoint}
148+
config={{ logLevel: 'all' }}
148149
/>
149150
</div>
150151
);

0 commit comments

Comments
 (0)