Reduce differences with upstream due to import style (#2465)

Fix relative / VS absolute style imports, and fix whitespace discrepancies
This commit is contained in:
Claire
2023-11-15 12:01:51 +01:00
committed by GitHub
parent f7d3b74e03
commit a97b722ad5
120 changed files with 379 additions and 438 deletions

View File

@@ -10,7 +10,6 @@ import { HASHTAG_PATTERN_REGEX } from 'flavours/glitch/utils/hashtags';
import Warning from '../components/warning';
const mapStateToProps = state => ({
needsLockWarning: state.getIn(['compose', 'privacy']) === 'private' && !state.getIn(['accounts', me, 'locked']),
hashtagWarning: state.getIn(['compose', 'privacy']) !== 'public' && HASHTAG_PATTERN_REGEX.test(state.getIn(['compose', 'text'])),