Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const { sequenceData = {} } = this.props;
let filestring;
switch (this.state.fileTypeToView) {
case "fasta":
filestring = jsonToFasta(sequenceData);
break;
case "teselagen":
filestring = JSON.stringify(
cleanUpTeselagenJsonForExport(sequenceData),
null,
4
);
break;
default:
filestring = jsonToGenbank(sequenceData);
}
return (
<div>
</div>