Add JS notice
This commit is contained in:
parent
c10d88500e
commit
6634b445ba
@ -82,11 +82,14 @@ const REPLHistory: NextPage<REPLHistoryParams> = ({history, inputRef}) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return <div className={styles.container} onClick={focusInput}>
|
return <div className={styles.container} onClick={focusInput}>
|
||||||
{ history.map((value, idx) => {
|
{ history.map((value, idx) => <div className={styles.line} key={idx}>
|
||||||
return <div className={styles.line} key={idx}>
|
|
||||||
{parseLine(value)}
|
{parseLine(value)}
|
||||||
</div>;}
|
</div>)
|
||||||
)}
|
}
|
||||||
|
{<noscript>
|
||||||
|
<div className={styles.line}>JavaScript must be enabled, else this site won't work.</div>
|
||||||
|
<div className={styles.line}>This site doesn't use any trackers, so please enable JS!</div>
|
||||||
|
</noscript>}
|
||||||
</div>;
|
</div>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user