From 524dff07d2f91ed60d2ae03ff6b485fd0030c4c7 Mon Sep 17 00:00:00 2001 From: amagiddmxh <1107537248@qq.com> Date: Mon, 21 Dec 2020 16:05:47 +0800 Subject: [PATCH] Fix en layout doc typo --- docs/layout.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/layout.md b/docs/layout.md index 99a2e81..22223ad 100644 --- a/docs/layout.md +++ b/docs/layout.md @@ -26,9 +26,9 @@ Take a new layout named `secondary` as an example to make the route starting wit import SecondaryLayout from './SecondaryLayout' const LayoutMap = { - Primary: PrimaryLayout, - Public: PublicLayout, - Secondary: SecondaryLayout, + primary: PrimaryLayout, + public: PublicLayout, + secondary: SecondaryLayout, } ``` @@ -38,7 +38,7 @@ Take a new layout named `secondary` as an example to make the route starting wit import React from 'react' export default ({ children }) => { - Return ( + return (