Browse Source
Merge pull request #1702 from nutboltu/master
Removed renderExamplePlaceholder as its never used
main
Nat Alison
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
7 deletions
-
src/pages/index.js
|
@ -310,13 +310,6 @@ Home.propTypes = { |
|
|
}).isRequired, |
|
|
}).isRequired, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
function renderExamplePlaceholder(containerId) { |
|
|
|
|
|
ReactDOM.render( |
|
|
|
|
|
<h4>Loading code example...</h4>, |
|
|
|
|
|
document.getElementById(containerId), |
|
|
|
|
|
); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const CtaItem = ({children, primary = false}) => ( |
|
|
const CtaItem = ({children, primary = false}) => ( |
|
|
<div |
|
|
<div |
|
|
css={{ |
|
|
css={{ |
|
|