File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,13 @@ export function createV6CompatibleWrapCreateMemoryRouter<
139139 } ,
140140 ) : TRouter {
141141 const router = createRouterFunction ( routes , opts ) ;
142- const basename = opts ? .basename ;
142+ const basename = opts ? opts . basename : undefined ;
143143
144144 const activeRootSpan = getActiveRootSpan ( ) ;
145145 let initialEntry = undefined ;
146146
147- const initialEntries = opts ? .initialEntries ;
148- const initialIndex = opts ? .initialIndex ;
147+ const initialEntries = opts ? opts . initialEntries : undefined ;
148+ const initialIndex = opts ? opts . initialIndex : undefined ;
149149
150150 const hasOnlyOneInitialEntry = initialEntries && initialEntries . length === 1 ;
151151 const hasIndexedEntry = initialIndex !== undefined && initialEntries && initialEntries [ initialIndex ] ;
You can’t perform that action at this time.
0 commit comments