Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Commit

Permalink
fix: remove unsed code
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiocro committed May 9, 2017
1 parent fd53f42 commit d244851
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ export default {
const REGEXP = i18next.i18next.services.interpolator.regexp;
const format = i18next.t(path, { interpolation: { prefix: '#$?', suffix: '?$#' } });
const tchildren = [];
const childsTKeys = {};
children.forEach((c) => {
if (c.data && c.data.attrs && c.data.attrs.tkey) {
childsTKeys[c.data.attrs.tkey] = c;
} else {
// TODO: warn
}
});

format.split(REGEXP).reduce((memo, match, index) => {
let child;
Expand Down

0 comments on commit d244851

Please sign in to comment.