@carbonorm/carbonreact 4.0.18 → 4.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -4450,7 +4450,7 @@ class CarbonReact extends Component {
4450
4450
  }
4451
4451
  }
4452
4452
  reactRouterContext(children) {
4453
- switch (this.props.routerType) {
4453
+ switch (this.props.routerType ?? eRouterType.BrowserRouter) {
4454
4454
  case eRouterType.BrowserRouter:
4455
4455
  return jsxRuntime_1(BrowserRouter, { children: children });
4456
4456
  case eRouterType.MemoryRouter: