mirror of
https://github.com/wassname/talk.git
synced 2026-07-30 12:40:41 +08:00
The merge got back some code to the coral-framework.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import React, {PropTypes} from 'react';
|
||||
import I18n from 'coral-framework/modules/i18n/i18n';
|
||||
import translations from 'coral-framework/translations';
|
||||
import I18n from 'coral-i18n/modules/i18n/i18n';
|
||||
|
||||
const lang = new I18n(translations);
|
||||
const lang = new I18n();
|
||||
|
||||
/**
|
||||
* Countdown the number of seconds until a given Date
|
||||
@@ -30,7 +29,7 @@ export class CountdownSeconds extends React.Component {
|
||||
componentWillUnmount() {
|
||||
if (this.countdownInterval) {
|
||||
this.countdownInterval = clearInterval(this.countdownInterval);
|
||||
}
|
||||
}
|
||||
}
|
||||
render() {
|
||||
const now = new Date();
|
||||
|
||||
@@ -6,9 +6,8 @@ import {CountdownSeconds} from './CountdownSeconds';
|
||||
import {getEditableUntilDate} from './util';
|
||||
|
||||
import {Icon} from 'coral-ui';
|
||||
import I18n from 'coral-framework/modules/i18n/i18n';
|
||||
import translations from 'coral-framework/translations';
|
||||
const lang = new I18n(translations);
|
||||
import I18n from 'coral-i18n/modules/i18n/i18n';
|
||||
const lang = new I18n();
|
||||
|
||||
/**
|
||||
* Renders a Comment's body in such a way that the end-user can edit it and save changes
|
||||
|
||||
@@ -4,9 +4,8 @@ import * as actions from '../constants/auth';
|
||||
import coralApi, {base} from '../helpers/response';
|
||||
import jwtDecode from 'jwt-decode';
|
||||
|
||||
const lang = new I18n(translations);
|
||||
import translations from './../translations';
|
||||
import I18n from '../../coral-framework/modules/i18n/i18n';
|
||||
const lang = new I18n();
|
||||
import I18n from '../../coral-i18n/modules/i18n/i18n';
|
||||
|
||||
// Dialog Actions
|
||||
export const showSignInDialog = () => (dispatch) => {
|
||||
|
||||
Reference in New Issue
Block a user