mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Chat file and img type msg fix
This commit is contained in:
@@ -546,7 +546,13 @@ export default class Chat extends React.Component {
|
||||
)
|
||||
} else if (type === 'file') {
|
||||
return (
|
||||
<a key={key} href={msg} rel="noreferrer" target="_blank">
|
||||
<a
|
||||
className={`${styles.messageEntry}`}
|
||||
key={key}
|
||||
href={msg}
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
{msg.split('/').slice(-1)}
|
||||
</a>
|
||||
)
|
||||
|
Reference in New Issue
Block a user