mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
fix(react): fixng ion-router-outlet ref regresssion (#21786)
This commit is contained in:
@ -33,6 +33,7 @@ import NestedOutlet from './pages/nested-outlet/NestedOutlet';
|
||||
import NestedOutlet2 from './pages/nested-outlet/NestedOutlet2';
|
||||
import ReplaceAction from './pages/replace-action/Replace';
|
||||
import TabsContext from './pages/tab-context/TabContext';
|
||||
import { OutletRef } from './pages/outlet-ref/OutletRef';
|
||||
debugger;
|
||||
const App: React.FC = () => {
|
||||
return (
|
||||
@ -47,6 +48,7 @@ const App: React.FC = () => {
|
||||
<Route path="/nested-outlet2" component={NestedOutlet2} />
|
||||
<Route path="/replace-action" component={ReplaceAction} />
|
||||
<Route path="/tab-context" component={TabsContext} />
|
||||
<Route path="/outlet-ref" component={OutletRef} />
|
||||
</IonReactRouter>
|
||||
</IonApp>
|
||||
);
|
||||
|
Reference in New Issue
Block a user