Skip to content

Commit a316598

Browse files
committed
chore: remove unused preview focus ref
1 parent 1a4f463 commit a316598

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Preview/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ const Preview: React.FC<PreviewProps> = props => {
197197

198198
const imgRef = useRef<HTMLImageElement>();
199199
const wrapperRef = useRef<HTMLDivElement>(null);
200-
const lastActiveRef = useRef<HTMLElement | null>(null);
201200
const groupContext = useContext(PreviewGroupContext);
202201
const showLeftOrRightSwitches = groupContext && count > 1;
203202
const showOperationsProgress = groupContext && count >= 1;

0 commit comments

Comments
 (0)