We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfdfaa4 commit 0229f95Copy full SHA for 0229f95
1 file changed
src/library-authoring/routes.ts
@@ -233,6 +233,8 @@ export const useLibraryRoutes = (): LibraryRoutesData => {
233
route = ROUTES.HOME;
234
}
235
236
+ // Since index is just the order number of the selectedItemId
237
+ // clear index if selectedItemId is undefined
238
if (routeParams.selectedItemId === undefined) {
239
routeParams.index = undefined;
240
0 commit comments