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', version: 'detect',
}, },
}, },
extends: [ extends: ['plugin:react/recommended', 'plugin:react/jsx-runtime'],
'plugin:react/recommended',
'standard',
'plugin:react/jsx-runtime',
'plugin:testing-library/react',
'plugin:jest/all',
],
globals: { globals: {
Atomics: 'readonly', Atomics: 'readonly',
SharedArrayBuffer: 'readonly', SharedArrayBuffer: 'readonly',

View file

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

View file

@ -154,7 +154,11 @@ export default function P2PInfo({ globalState, setGlobalState }) {
<div key={i} className={styles.peerContainer}> <div key={i} className={styles.peerContainer}>
<div>{peer.name}</div> <div>{peer.name}</div>
<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} {peer.host}:{peer.port}
</a> </a>
</div> </div>