Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Commit

Permalink
fix(formatMessage): πŸš‘ restore formatMessage to basic functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJamesC committed Jul 20, 2017
1 parent ff2a186 commit 0a5f05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LocaleStore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {observable} from 'mobx';
// import formatMessage from "format-message";
const formatMessage: any = require("format-message");

const LOCALE = "locale";

Expand Down Expand Up @@ -34,6 +34,6 @@ export class LocaleStore {
console.warn("Id not found in intl list: "+id)
return id;
}
// return formatMessage(this.messages[id], this.value);
return formatMessage(this.messages[id], this.value);
}
}

0 comments on commit 0a5f05d

Please sign in to comment.