mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 00:04:22 +02:00
CODEBASE: Fix lint errors 2 (#1756)
This commit is contained in:
@@ -125,3 +125,9 @@ export function getNsApiDocumentationUrl(isDevBranch: boolean = CONSTANTS.isDevB
|
||||
isDevBranch ? "dev" : "stable"
|
||||
}/markdown/bitburner.ns.md`;
|
||||
}
|
||||
|
||||
export function getKeyFromReactElements(a: string | React.JSX.Element, b: string | React.JSX.Element): string {
|
||||
const keyOfA = typeof a === "string" ? a : a.key ?? "";
|
||||
const keyOfb = typeof b === "string" ? b : b.key ?? "";
|
||||
return keyOfA + keyOfb;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user