From 6e97ea9299a83f2b261f276d1d32bff018ffc5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B0=8F=E8=81=AA?= Date: Fri, 22 Feb 2019 14:03:31 +0800 Subject: [PATCH] fix: React does not recognize the `staticContext` prop on a DOM element. (#3582) --- src/layouts/BlankLayout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/BlankLayout.js b/src/layouts/BlankLayout.js index 505270f8..ef39aa4c 100644 --- a/src/layouts/BlankLayout.js +++ b/src/layouts/BlankLayout.js @@ -1,3 +1,3 @@ import React from 'react'; -export default props =>
; +export default ({ children }) =>
{children}
; -- GitLab