Skip to content

Commit

Permalink
Revert adding valueOf to Cluster for compatibility with base-immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmroz-allegro committed Mar 14, 2022
1 parent 9e05676 commit 3ff1762
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/common/models/cluster/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,4 @@ export class Cluster extends Record<ClusterValue>(defaultCluster) {
public shouldScanSources(): boolean {
return this.sourceListScan === "auto";
}

public valueOf(): ClusterValue {
return this.toObject();
}
}

0 comments on commit 3ff1762

Please sign in to comment.