Skip to content

Commit

Permalink
Remove package and other stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed Jan 3, 2020
1 parent dd1f8b3 commit aa2fde6
Show file tree
Hide file tree
Showing 5 changed files with 2,060 additions and 1,669 deletions.
4 changes: 0 additions & 4 deletions packages/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const withSass = require('@zeit/next-sass')
const withImages = require('next-images')
const envConfig = require('./env-config')
const serverEnvConfig = require('./server-env-config')
const Visualizer = require('webpack-visualizer-plugin')

module.exports = withImages(
withSass({
Expand All @@ -27,9 +26,6 @@ module.exports = withImages(
'react-native$': 'react-native-web',
}

config.plugins = config.plugins || []
config.plugins.push(new Visualizer())

if (!isServer) {
config.resolve.alias['@sentry/node'] = '@sentry/browser'
}
Expand Down
3 changes: 1 addition & 2 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
"nodemon": "^2.0.2",
"postcss-scss": "^2.0.0",
"react-native-svg": "^9.13.6",
"webpack": "4.41.2",
"webpack-visualizer-plugin": "^0.1.11"
"webpack": "4.41.2"
}
}
2 changes: 1 addition & 1 deletion packages/web/src/fonts/Fonts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ interface TextChildren {

export function Ul(props: ViewProps & ViewChildren) {
return (
<View style={[styles.ul, props.style]} accessibilityRole={'list'}>
<View style={StyleSheet.flatten([styles.ul, props.style])} accessibilityRole={'list'}>
{props.children}
</View>
)
Expand Down
3 changes: 1 addition & 2 deletions packages/web/src/forms/FormComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
} from 'react-native'
import Fade from 'react-reveal/Fade'
import { Cell, Spans } from 'src/layout/GridRow'

import { colors, fonts, standardStyles, textStyles } from 'src/styles'

export function ErrorMessage({ allErrors, field, t }) {
Expand Down Expand Up @@ -158,7 +157,7 @@ export class TextInput extends React.Component<TextInputProps & TextInputAuxProp

render() {
const { style, focusStyle, ...props } = this.props
const currentStyle = this.state.focused ? [style, focusStyle] : style
const currentStyle = this.state.focused ? StyleSheet.flatten([style, focusStyle]) : style
return (
<RNTextInput {...props} onFocus={this.onFocus} onBlur={this.onBlur} style={currentStyle} />
)
Expand Down
Loading

0 comments on commit aa2fde6

Please sign in to comment.