Skip to content

Commit

Permalink
fixed rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
NanaKay007 committed Jun 9, 2020
1 parent 2858c9e commit 7d3f7ab
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 34 deletions.
4 changes: 2 additions & 2 deletions web/src/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import StateTree from '../stores/tree';
import { Uploads } from '../stores/uploads';
import { User } from '../stores/user';
import Layout from './layout/layout';
import DemoLayout from './layout/demo_layout';
import DemoLayout from './layout/demo-layout';
import NotificationBanner from './notification-banner/notification-banner';
import NotificationPill from './notification-pill/notification-pill';
import { Spinner } from './ui/ui';
Expand Down Expand Up @@ -219,7 +219,7 @@ let LocalizedPage: any = class extends React.Component<

render() {
const { locale, notifications, toLocaleRoute, location } = this.props;
const { bundleGenerator, uploadPercentage } = this.state;
const { l10n, uploadPercentage } = this.state;

if (!l10n) return null;

Expand Down
2 changes: 1 addition & 1 deletion web/src/components/layout/demo-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Switch, Route, withRouter, Redirect } from 'react-router';
import { useLocale } from '../locale-helpers';
import { Spinner } from '../ui/ui';
import URLS from '../../urls';
import Intro from '../demo-pages/Intro/intro';
import Intro from '../demo-pages/intro/intro';

const Kiosk = React.lazy(() => import('../demo-pages/kiosk/kiosk'));

Expand Down
30 changes: 0 additions & 30 deletions web/src/components/layout/demo_layout.tsx

This file was deleted.

3 changes: 2 additions & 1 deletion web/src/components/pages/datasets/dataset-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import CircleStats from './circle-stats';
import stats from './stats';
import { DPropsFromState } from './types';
import './dataset-info.css';
import URLS from '../../../urls';

const languages = Object.keys(stats.locales).length;
const globalStats = {
Expand Down Expand Up @@ -90,7 +91,7 @@ export const Splits = ({
);
};

type Props = LocalePropsFromState & LocalizationProps & DPropsFromState;
type Props = LocalePropsFromState & WithLocalizationProps & DPropsFromState;

type State = {
bundleLocale: string;
Expand Down

0 comments on commit 7d3f7ab

Please sign in to comment.