refactor(v2): use react hooks on root app (#1095)

* refactor(v2): use functional component + react hooks for App

* docusaurus/link

* nits

* review
This commit is contained in:
Endilie Yacop Sucipto 2018-11-08 10:23:07 +08:00 committed by GitHub
parent 72d1fa2d2a
commit 8695ed89a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 65 additions and 58 deletions

View file

@ -6,8 +6,8 @@
*/
import React from 'react';
import {Link} from 'react-router-dom';
import Head from '@docusaurus/head';
import Link from '@docusaurus/Link';
import Head from '@docusaurus/Head';
import classnames from 'classnames';
import Layout from '@theme/Layout'; // eslint-disable-line