migrate redux store
Summary: Migrating redux stores to TypeScript Reviewed By: passy Differential Revision: D16579796 fbshipit-source-id: e3e507f17f1bdd57eb45e30cb0b28aaee6c4521c
This commit is contained in:
committed by
Facebook Github Bot
parent
2c95ef6b25
commit
64cefd0f84
@@ -5,9 +5,9 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import {LauncherMsg} from '../reducers/application.js';
|
||||
import {LauncherMsg} from '../reducers/application';
|
||||
import {colors, FlexRow, Glyph, styled} from 'flipper';
|
||||
import React, {Component} from 'react';
|
||||
import React from 'react';
|
||||
|
||||
const Container = styled(FlexRow)({
|
||||
alignItems: 'center',
|
||||
@@ -27,7 +27,7 @@ function getSeverityColor(severity: 'warning' | 'error'): string {
|
||||
}
|
||||
}
|
||||
|
||||
export default class UpdateIndicator extends Component<Props> {
|
||||
export default class UpdateIndicator extends React.Component<Props> {
|
||||
render() {
|
||||
if (this.props.launcherMsg.message.length == 0) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user