mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-19 06:02:06 +02:00
tidy up eslint.js
This commit is contained in:
@@ -128,9 +128,8 @@ function PromptMenuSelect({ prompt, resolve }: IContentProps): React.ReactElemen
|
||||
};
|
||||
|
||||
const getItems = (choices: string[]): React.ReactElement[] => {
|
||||
const content = [];
|
||||
const content: React.ReactElement[] = [];
|
||||
for (const i of choices) {
|
||||
// @ts-ignore
|
||||
content.push(
|
||||
<MenuItem key={i} value={i}>
|
||||
{i}
|
||||
|
||||
Reference in New Issue
Block a user