diff options
| author | Haishan <[email protected]> | 2019-04-14 22:56:14 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-04-14 22:56:14 +0800 |
| commit | 7dac1d44c7b13184e4a1cbdb4113df2bb8db9d7e (patch) | |
| tree | 44ca70a51497d5e0dddadaca384ee20541a157fe /src/components/Rule.js | |
| parent | 4a4f58c88a857d222fbd21749bfd7019eaee8659 (diff) | |
refactor: replace sass with postcss
Diffstat (limited to 'src/components/Rule.js')
| -rw-r--r-- | src/components/Rule.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/Rule.js b/src/components/Rule.js index 3468d17..db6652d 100644 --- a/src/components/Rule.js +++ b/src/components/Rule.js @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import s0 from './Rule.module.scss'; +import s0 from './Rule.module.css'; const colorMap = { _default: '#59caf9', @@ -26,9 +26,7 @@ function Rule({ type, payload, proxy, id }) { <div className={s0.b}>{payload}</div> <div className={s0.a}> <div className={s0.type}>{type}</div> - <div className={s0.proxy} style={styleProxy}> - {proxy} - </div> + <div style={styleProxy}>{proxy}</div> </div> </div> </div> |
