Skip to content

Commit f886cd0

Browse files
Add $ to props used by styled component
1 parent 96fb004 commit f886cd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extensions/ql-vscode/src/view/variant-analysis/RawResultsTable.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { RawResultRow } from "./RawResultRow";
99
const numOfResultsInContractedMode = 5;
1010

1111
type TableContainerProps = {
12-
columnCount: number;
12+
$columnCount: number;
1313
};
1414

1515
const TableContainer = styled.div<TableContainerProps>`
@@ -18,7 +18,7 @@ const TableContainer = styled.div<TableContainerProps>`
1818
// minimum width of 1fr is auto, not 0.
1919
// https://css-tricks.com/equal-width-columns-in-css-grid-are-kinda-weird/
2020
grid-template-columns: repeat(
21-
${(props) => props.columnCount},
21+
${(props) => props.$columnCount},
2222
minmax(0, 1fr)
2323
);
2424
max-width: 45rem;
@@ -51,7 +51,7 @@ const RawResultsTable = ({
5151

5252
return (
5353
<>
54-
<TableContainer columnCount={schema.columns.length}>
54+
<TableContainer $columnCount={schema.columns.length}>
5555
{results.rows.slice(0, numOfResultsToShow).map((row, rowIndex) => (
5656
<RawResultRow
5757
key={rowIndex}

0 commit comments

Comments
 (0)