Skip to content

Commit d5ee4cb

Browse files
committed
fix(core): fix routing problem
1 parent a52fdce commit d5ee4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/smooth/src/client/Routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function Routes() {
2424
{pages.map((page, index) => (
2525
<Route
2626
key={index}
27-
path={`${url}${page.routePath}`.replace(/^\/\//, '/')}
27+
path={`${url}${page.routePath}`.replace(/\/\//, '/')}
2828
render={({ history, match, location }) => (
2929
<Page
3030
lang={lang}

0 commit comments

Comments
 (0)