diff --git a/src/common/__tests__/search-store.test.ts b/src/common/__tests__/search-store.test.ts index 7f190fea0f..517182a04a 100644 --- a/src/common/__tests__/search-store.test.ts +++ b/src/common/__tests__/search-store.test.ts @@ -22,7 +22,7 @@ describe("search store tests", () => { expect(searchStore.occurrences).toEqual([]); }) - it("doesn't brake if no text provided", () => { + it("doesn't break if no text provided", () => { searchStore.onSearch(null, "replica"); expect(searchStore.occurrences).toEqual([]); diff --git a/src/renderer/components/dock/pod-logs.tsx b/src/renderer/components/dock/pod-logs.tsx index 7c9ac2f9a5..a5a289f25e 100644 --- a/src/renderer/components/dock/pod-logs.tsx +++ b/src/renderer/components/dock/pod-logs.tsx @@ -175,7 +175,6 @@ export class PodLogs extends React.Component { * @returns A react element with a row itself */ getLogRow = (rowIndex: number) => { - const isSeparator = this.logs[rowIndex] === "---newlogs---"; // TODO: Use constant separator const { searchQuery, isActiveOverlay } = searchStore; const item = this.logs[rowIndex]; const contents: React.ReactElement[] = []; @@ -200,7 +199,7 @@ export class PodLogs extends React.Component { }) } return ( -
+
{contents.length > 1 ? contents : item}
);