Notification: fix "missing key in list" error
This commit is contained in:
parent
d4f26c4272
commit
c512b1147e
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ export default function Notification(props: Props) {
|
||||||
let uriIndicator;
|
let uriIndicator;
|
||||||
const title = titleSplit.map((message, index) => {
|
const title = titleSplit.map((message, index) => {
|
||||||
if (channelName === message) {
|
if (channelName === message) {
|
||||||
uriIndicator = <UriIndicator uri={channelUrl} link channelInfo={{ uri: channelUrl, name: channelName }} />;
|
uriIndicator = (
|
||||||
|
<UriIndicator key={channelUrl} uri={channelUrl} link channelInfo={{ uri: channelUrl, name: channelName }} />
|
||||||
|
);
|
||||||
fullTitle.push(' ');
|
fullTitle.push(' ');
|
||||||
const resultTitle = fullTitle;
|
const resultTitle = fullTitle;
|
||||||
fullTitle = [' '];
|
fullTitle = [' '];
|
||||||
|
|
Loading…
Reference in a new issue