Rename HiddenMethodsText => HiddenMethodsCell
This commit is contained in:
@@ -4,7 +4,7 @@ import { pluralize } from "../../common/word";
|
||||
import { DataGridCell, DataGridRow } from "../common/DataGrid";
|
||||
import { ModelEditorViewState } from "../../model-editor/shared/view-state";
|
||||
|
||||
const HiddenMethodsText = styled(DataGridCell)`
|
||||
const HiddenMethodsCell = styled(DataGridCell)`
|
||||
text-align: center;
|
||||
`;
|
||||
|
||||
@@ -27,11 +27,11 @@ export function HiddenMethodsRow({
|
||||
|
||||
return (
|
||||
<DataGridRow>
|
||||
<HiddenMethodsText gridColumn={gridColumn}>
|
||||
<HiddenMethodsCell gridColumn={gridColumn}>
|
||||
{someMethodsAreVisible && "And "}
|
||||
{pluralize(numHiddenMethods, "method", "methods")} modeled in other
|
||||
CodeQL packs
|
||||
</HiddenMethodsText>
|
||||
</HiddenMethodsCell>
|
||||
</DataGridRow>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user