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

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