fix linter errors
This commit is contained in:
parent
23e8c110b2
commit
e8bfdf7043
@ -34,8 +34,10 @@ export const generateExportedMessages = (
|
||||
intl: IntlShape,
|
||||
): string => {
|
||||
const welcomeMessage = htmlDecode(welcomeSettings.welcomeMsg);
|
||||
const welcomeMsgForModerators = welcomeSettings.welcomeMsgForModerators && htmlDecode(welcomeSettings.welcomeMsgForModerators);
|
||||
const systemMessages = `${welcomeMessage ? `system: ${welcomeMessage}` : ''}\n ${welcomeMsgForModerators ? `system: ${welcomeMsgForModerators}` : ''}\n`;
|
||||
const welcomeMsgForModerators = welcomeSettings.welcomeMsgForModerators
|
||||
&& htmlDecode(welcomeSettings.welcomeMsgForModerators);
|
||||
const systemMessages = `${welcomeMessage ? `system: ${welcomeMessage}` : ''}\n
|
||||
${welcomeMsgForModerators ? `system: ${welcomeMsgForModerators}` : ''}\n`;
|
||||
|
||||
const text = messages.reduce((acc, message) => {
|
||||
const date = new Date(message.createdAt);
|
||||
|
@ -345,7 +345,7 @@ const GuestUsersManagementPanel: React.FC<GuestUsersManagementPanelProps> = ({
|
||||
{
|
||||
guestLobbyMessage && guestLobbyMessage !== ''
|
||||
? <span dangerouslySetInnerHTML={{ __html: guestLobbyMessage }} />
|
||||
: intl.formatMessage(intlMessages.emptyMessage)
|
||||
: intl.formatMessage(intlMessages.emptyMessage)
|
||||
}
|
||||
"
|
||||
</i>
|
||||
|
Loading…
Reference in New Issue
Block a user