diff --git a/frontend/app/components/Session_/QueueControls/QueueControls.tsx b/frontend/app/components/Session_/QueueControls/QueueControls.tsx
index 21c50c80c..f27ff6977 100644
--- a/frontend/app/components/Session_/QueueControls/QueueControls.tsx
+++ b/frontend/app/components/Session_/QueueControls/QueueControls.tsx
@@ -27,23 +27,22 @@ function QueueControls(props: Props) {
const {
match: {
// @ts-ignore
- params: { sessionId }
- }
+ params: { sessionId },
+ },
} = props;
const currentPage = searchStore.currentPage;
- const latestRequestTime = searchStore.latestRequestTime;
useEffect(() => {
- if (latestRequestTime) {
- setAutoplayValues();
- const totalPages = Math.ceil(total / PER_PAGE);
- const index = sessionIds.indexOf(sessionId);
+ setAutoplayValues();
+ const totalPages = Math.ceil(total / PER_PAGE);
+ const index = sessionIds.indexOf(sessionId);
- // check for the last page and load the next
- if (currentPage !== totalPages && index === sessionIds.length - 1) {
- searchStore.fetchAutoplaySessions(currentPage + 1).then(setAutoplayValues);
- }
+ // check for the last page and load the next
+ if (currentPage !== totalPages && index === sessionIds.length - 1) {
+ searchStore
+ .fetchAutoplaySessions(currentPage + 1)
+ .then(setAutoplayValues);
}
}, []);
@@ -63,15 +62,22 @@ function QueueControls(props: Props) {
onClick={prevHandler}
className={cn('p-1 group rounded-full', {
'pointer-events-none opacity-50': !previousId,
- 'cursor-pointer': !!previousId
+ 'cursor-pointer': !!previousId,
})}
>
Play Previous Session}
+ content={
+ Play Previous Session
+ }
open={previousId ? undefined : false}
>
-
@@ -81,7 +87,7 @@ function QueueControls(props: Props) {
onClick={nextHandler}
className={cn('p-1 group ml-1 rounded-full', {
'pointer-events-none opacity-50': !nextId,
- 'cursor-pointer': !!nextId
+ 'cursor-pointer': !!nextId,
})}
>
Play Next Session}
open={nextId ? undefined : false}
>
-
+
diff --git a/tracker/tracker/.yarn/install-state.gz b/tracker/tracker/.yarn/install-state.gz
index fa46e2d7a..424179e09 100644
Binary files a/tracker/tracker/.yarn/install-state.gz and b/tracker/tracker/.yarn/install-state.gz differ
diff --git a/tracker/tracker/.yarnrc.yml b/tracker/tracker/.yarnrc.yml
index a6601208d..3186f3f07 100644
--- a/tracker/tracker/.yarnrc.yml
+++ b/tracker/tracker/.yarnrc.yml
@@ -1 +1 @@
-nodeLinker: pnpm
+nodeLinker: node-modules