Skip to content

Commit 633edd5

Browse files
committed
fix: add relevant information to storybook simple sample
1 parent b14cfa1 commit 633edd5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/smart-components/NotificationChannel/stories/index.stories.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
import React, { useState, useCallback } from 'react';
1+
import React from 'react';
22

33
import Sendbird from '../../../lib/Sendbird';
44
import NotificationChannel from '../index';
55
import { TestApp } from './TestApp';
66

77
export default { title: 'NotficationChannel' };
88

9+
const appId = '';
10+
const userId = '';
11+
const accessToken = '';
12+
913
export const NotificationChannelComponent = () => (
1014
<Sendbird
1115
appId={appId}
@@ -14,7 +18,7 @@ export const NotificationChannelComponent = () => (
1418
>
1519
<div style={{ height: '500px', width: '360px' }}>
1620
<NotificationChannel
17-
channelUrl='SENDBIRD_NOTIFICATION_CHANNEL_NOTIFICATION_sravan'
21+
channelUrl={`SENDBIRD_NOTIFICATION_CHANNEL_NOTIFICATION_${userId}`}
1822
/>
1923
</div>
2024
</Sendbird>

0 commit comments

Comments
 (0)