mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
build fixes
This commit is contained in:
parent
e2d304c130
commit
4980a02ec4
3 changed files with 7 additions and 9 deletions
|
@ -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',
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue