docusaurus/website/pages/feedback/index.js
Endilie Yacop Sucipto 1f91d19a8c
chore: move to monorepo (#1297)
* chore: move to monorepo

* lint all js file

* simplify circleCI

* fix failing tests

* fix tests due to folder rename

* fix test since v1 website is renamed
2019-03-23 14:21:36 +07:00

28 lines
650 B
JavaScript

/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React, {useEffect} from 'react';
import canny from '../../scripts/canny';
import styles from './styles.module.css';
const BOARD_TOKEN = '054e0e53-d951-b14c-7e74-9eb8f9ed2f91';
function Feedback() {
useEffect(() => {
canny();
window.Canny &&
window.Canny('render', {
boardToken: BOARD_TOKEN,
basePath: '/feedback',
});
}, []);
return <div className={styles.feedbackPage} data-canny />;
}
export default Feedback;