mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-04 22:19:07 +08:00
removes unnecessary code from packs/settings/index.jsx
This commit is contained in:
parent
0f4286d5d1
commit
d781ff9b2d
1 changed files with 0 additions and 9 deletions
|
@ -4,20 +4,11 @@
|
||||||
|
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import ReactDOM from 'react-dom'
|
import ReactDOM from 'react-dom'
|
||||||
// import PropTypes from 'prop-types'
|
|
||||||
|
|
||||||
const Settings = () => (
|
const Settings = () => (
|
||||||
<div>Settings page</div>
|
<div>Settings page</div>
|
||||||
)
|
)
|
||||||
|
|
||||||
// Settings.defaultProps = {
|
|
||||||
// name: 'David'
|
|
||||||
// }
|
|
||||||
|
|
||||||
// Settings.propTypes = {
|
|
||||||
// name: PropTypes.string
|
|
||||||
// }
|
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<Settings />,
|
<Settings />,
|
||||||
|
|
Loading…
Reference in a new issue