Skip to content

Commit

Permalink
[PR feedback] method name
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Nov 16, 2023
1 parent fe591fb commit 047caf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/datagrid/body/data_grid_cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ export class EuiDataGridCell extends Component<
this.contentObserver.disconnect();
}
this.preventTabbing();
this.getCellTextAlign();
this.setCellTextAlign();
};

onFocus = (e: FocusEvent<HTMLDivElement>) => {
Expand Down Expand Up @@ -489,7 +489,7 @@ export class EuiDataGridCell extends Component<
}
};

getCellTextAlign = () => {
setCellTextAlign = () => {
if (this.cellContentsRef) {
const { columnType } = this.props;
if (!columnType) {
Expand Down

0 comments on commit 047caf5

Please sign in to comment.