mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[website] Fix Layout Footer in Contribuiting pages. (#11014)
* Fix layout footer in contribuiting pages. * Run prettier-all
This commit is contained in:
committed by
Dan Abramov
parent
766db4d342
commit
860190da77
@@ -43,7 +43,9 @@ class Template extends Component {
|
||||
|
||||
// TODO - is there a better way to check if we need we have a sidebar?
|
||||
let layoutHasSidebar = false;
|
||||
if (location.pathname.match(/^\/(docs|tutorial|community|blog)/)) {
|
||||
if (
|
||||
location.pathname.match(/^\/(docs|tutorial|community|blog|contributing)/)
|
||||
) {
|
||||
layoutHasSidebar = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user