diff --git a/packages/logs-react/src/components/cardList/cardList.tsx b/packages/logs-react/src/components/cardList/cardList.tsx index c6e8523..9a25878 100644 --- a/packages/logs-react/src/components/cardList/cardList.tsx +++ b/packages/logs-react/src/components/cardList/cardList.tsx @@ -17,9 +17,9 @@ const CardList: React.FC = (props) => { <> {props.logs.map((call, i) => { if (props.logs.length - 1 === i) { - return ; + return ; } else { - return ; + return ; } })} diff --git a/packages/logs-react/src/components/logChips/LogChips.tsx b/packages/logs-react/src/components/logChips/LogChips.tsx index 57477e5..4639340 100644 --- a/packages/logs-react/src/components/logChips/LogChips.tsx +++ b/packages/logs-react/src/components/logChips/LogChips.tsx @@ -1,4 +1,3 @@ - import React from "react"; import { IJSONRPCLog } from "../logsReact/logsReact"; import {Chip} from "@material-ui/core"; @@ -8,7 +7,7 @@ interface IProps { log: IJSONRPCLog; } -const getChipColorForLog = (log: IJSONRPCLog, theme: Theme, isNotification: boolean = false): any => { +const getChipColorForLog = (log: IJSONRPCLog, theme: Theme, isNotification = false): any => { const paletteType = theme.palette.type; const styles: any = { backgroundColor: theme.palette.success[paletteType],