We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 187440f commit e4e407cCopy full SHA for e4e407c
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