Skip to content

Commit

Permalink
chore: fix Eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
LatentDream committed Apr 17, 2024
1 parent 34093af commit e0d930c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const mapStatusToDisplay: { [k in StatusType] } = {
};

function renderErrorMessage(text: string): JSX.Element {
let lines = text.split("\n");
const lines = text.split("\n");
return (
<div className="mt-2 h-[256px] overflow-scroll whitespace-pre rounded-md bg-secondary p-2">
{lines.map((line, index) => (
Expand Down

0 comments on commit e0d930c

Please sign in to comment.