Skip to content

Commit

Permalink
temp rollback the change
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Jul 26, 2021
1 parent a5321c9 commit cdcab7e
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,6 @@ export class FieldFormatsRegistry {

register(fieldFormats: FieldFormatInstanceType[]) {
fieldFormats.forEach((fieldFormat) => {
if (this.fieldFormats.has(fieldFormat.id))
throw new Error(
`Fail to register fieldFormat with id "${fieldFormat.id}" as it is already registered`
);

this.fieldFormats.set(fieldFormat.id, fieldFormat);
});
}
Expand Down

0 comments on commit cdcab7e

Please sign in to comment.