Skip to content

Commit

Permalink
declared undefined variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Chetan-Gudagamanal committed Nov 23, 2023
1 parent 29360e7 commit e8ef243
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ export default memo(
lastSub.endTime + timeDiff,
next ? next.startTime : null
);
const nextCardStartTime = endTime;
const previousCardEndTime = startTime;
const width = (endTime - startTime) * 10 * gridGap;
const nextCardWidth = (next.endTime - nextCardStartTime) * 10 * gridGap;
const previousCardWidth =
Expand Down

0 comments on commit e8ef243

Please sign in to comment.