build fixes

This commit is contained in:
mrfry 2023-03-26 20:28:25 +02:00
parent e2d304c130
commit 4980a02ec4
3 changed files with 7 additions and 9 deletions

View file

@ -12,13 +12,7 @@ module.exports = {
version: 'detect',
},
},
extends: [
'plugin:react/recommended',
'standard',
'plugin:react/jsx-runtime',
'plugin:testing-library/react',
'plugin:jest/all',
],
extends: ['plugin:react/recommended', 'plugin:react/jsx-runtime'],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',

View file

@ -11,7 +11,7 @@ class MyDocument extends Document {
return (
<Html>
<Head />
<body bgcolor="#222226">
<body style={{ backgroundColor: '#222226' }}>
<Main />
<NextScript />
</body>

View file

@ -154,7 +154,11 @@ export default function P2PInfo({ globalState, setGlobalState }) {
<div key={i} className={styles.peerContainer}>
<div>{peer.name}</div>
<div>
<a href={`https://${peer.host}:${peer.port}`} target={'_blank'}>
<a
href={`https://${peer.host}:${peer.port}`}
target={'_blank'}
rel="noreferrer"
>
{peer.host}:{peer.port}
</a>
</div>