diff --git a/client/About.js b/client/About.js index 416dbcc..5c0d99c 100644 --- a/client/About.js +++ b/client/About.js @@ -1,12 +1,8 @@ import React from 'react' import contentHTML from './About.md' -class About extends React.Component { - render() { - return ( -
- ) - } +function About() { + return
} export default About diff --git a/client/About.md b/client/About.md index 63bd1fe..e54b017 100644 --- a/client/About.md +++ b/client/About.md @@ -43,11 +43,7 @@ unpkg is not affiliated with or supported by npm, Inc. in any way. Please do not ### Abuse -Currently, unpkg tries to prevent people from abusing the CDN in a few different ways. - -First, in order to be available on unpkg a package must have been downloaded from the npm registry an average of 100 times per day over the past week. - -Secondly, unpkg maintains a blacklist of packages that are known to be malicious. If you find such a package on npm, please take a moment to submit a PR that adds it to [our blacklist](https://github.com/unpkg/unpkg.com/blob/master/server/PackageBlacklist.json). +unpkg maintains [a blacklist](https://github.com/unpkg/unpkg.com/blob/master/server/PackageBlacklist.json) of packages that are known to be malicious. If you find such a package on npm, please take a moment to submit a PR that adds it to the list! ### Feedback diff --git a/client/Home.js b/client/Home.js index 4557e3e..b18879a 100644 --- a/client/Home.js +++ b/client/Home.js @@ -1,12 +1,8 @@ import React from 'react' import contentHTML from './Home.md' -class Home extends React.Component { - render() { - return ( -
- ) - } +function Home() { + return
} export default Home