NETSCRIPT: format fixes

The command `npm run format` reports some formatting issues under `src/ScriptEditor`.  Fix the reported formatting issues.
This commit is contained in:
Duck McSouls 2022-09-30 14:47:33 +10:00
parent 5e4a393495
commit d8ef63cfe9
2 changed files with 4 additions and 2 deletions

@ -75,7 +75,7 @@ interface Player {
/**
* @public
*/
export interface Multipliers {
export interface Multipliers {
/** Multiplier to hacking skill */
hacking?: number;
/** Multiplier to strength skill */

@ -803,7 +803,9 @@ export function Root(props: IProps): React.ReactElement {
...colorProps,
};
const scriptTabText = `${hostname}:~${fileName.startsWith("/") ? "" : "/"}${fileName} ${dirty(index)}`;
const scriptTabText = `${hostname}:~${fileName.startsWith("/") ? "" : "/"}${fileName} ${dirty(
index,
)}`;
return (
<Draggable
key={fileName + hostname}