Skip to content

Commit

Permalink
refactor: remove unused remaining time ref (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano authored Dec 31, 2023
1 parent c8b2f42 commit abe2ceb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ const Toast = (props: ToastProps) => {
);
const closeTimerStartTimeRef = React.useRef(0);
const offset = React.useRef(0);
const closeTimerRemainingTimeRef = React.useRef(duration);
const lastCloseTimerStartTimeRef = React.useRef(0);
const pointerStartRef = React.useRef<{ x: number; y: number } | null>(null);
const [y, x] = position.split('-');
Expand Down

1 comment on commit abe2ceb

@vercel
Copy link

@vercel vercel bot commented on abe2ceb Dec 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.