mirror of
https://github.com/strapi/strapi.git
synced 2025-09-07 15:49:24 +00:00
Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
parent
2838d145b0
commit
6ee156f3cc
@ -255,7 +255,7 @@ export default strapi => {
|
|||||||
to: `${strapi.settingsBaseURL}/setting-link-1`,
|
to: `${strapi.settingsBaseURL}/setting-link-1`,
|
||||||
name: 'settingLink1',
|
name: 'settingLink1',
|
||||||
Component: SettingLink,
|
Component: SettingLink,
|
||||||
// True or false
|
// Bool : https://reacttraining.com/react-router/web/api/Route/exact-bool
|
||||||
exact: false,
|
exact: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -31,8 +31,6 @@ function SettingsPage() {
|
|||||||
return refArray.findIndex(obj => obj.key === route.key) === index;
|
return refArray.findIndex(obj => obj.key === route.key) === index;
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(createdRoutes);
|
|
||||||
|
|
||||||
const menuItems = [
|
const menuItems = [
|
||||||
{
|
{
|
||||||
id: 'global',
|
id: 'global',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user