Skip to content

Commit

Permalink
add type to bookmarkTable row, cleanup unused SOL type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ptrhnk committed Oct 31, 2023
1 parent 4b17c56 commit 047a92e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import {
useDrop,
} from "react-dnd";
import { FaGripVertical } from "react-icons/fa";
import { Cell, ColumnInstance } from "react-table";
import { ColumnInstance, Row } from "react-table";
import { DragItem, ItemTypes } from "types";
import { dndHoverFn } from "utils";
import { StyledTd, StyledTr } from "./EntityBookmarkTableStyles";

interface EntityBookmarkTableRow {
row: any;
row: Row<IEntity>;
index: number;
moveRow: (dragIndex: number, hoverIndex: number) => void;
folder: IResponseBookmarkFolder;
Expand Down Expand Up @@ -67,7 +67,7 @@ export const EntityBookmarkTableRow: React.FC<EntityBookmarkTableRow> = ({
) : (
<td style={{ width: "2rem" }} />
)}
{row.cells.map((cell: Cell) => {
{row.cells.map((cell) => {
return (
<StyledTd {...cell.getCellProps()}>{cell.render("Cell")}</StyledTd>
);
Expand Down
1 change: 0 additions & 1 deletion packages/shared/enums/relations.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export namespace RelationEnums {
export enum Type {
Superclass = "SCL",
// SuperordinateEntity = "SOL",
SuperordinateEntity = "SOE",
Synonym = "SYN",
Antonym = "ANT",
Expand Down

0 comments on commit 047a92e

Please sign in to comment.