We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d6225f commit cb1cc7bCopy full SHA for cb1cc7b
src/components/editable-cell.tsx
@@ -24,7 +24,6 @@ export const EditableCell = React.memo(function (props: EditableCellProps) {
24
25
const [isEditing, setIsEditing] = React.useState(false);
26
const [editedValue, setEditedValue] = React.useState(value);
27
- const cellElement = useRef<HTMLDivElement>(null);
28
29
useEffect(() => {
30
setEditedValue(value);
@@ -68,7 +67,6 @@ export const EditableCell = React.memo(function (props: EditableCellProps) {
68
67
69
return (
70
<div
71
- ref={cellElement}
72
css={[
73
tw`w-full h-full flex items-center cursor-cell border-[3px] border-transparent`,
74
isFocused && tw`border-indigo-500`,
0 commit comments