From e75a14c503f1a5d2735ae8be6718547edaa86681 Mon Sep 17 00:00:00 2001 From: sajadevo Date: Fri, 13 Jan 2023 10:44:29 +0430 Subject: [PATCH] Fix the element issue in react router dom --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index e59a3b5..35609fd 100644 --- a/src/App.js +++ b/src/App.js @@ -19,7 +19,7 @@ const App = () => { } + element={React.createElement(route.component)} /> ))} } />