settings: removes comments and console statements

This commit is contained in:
jimmylee 2020-06-30 23:59:03 -07:00
parent a42d83252a
commit d69bf9c59a
3 changed files with 0 additions and 64 deletions

View File

@ -55,8 +55,6 @@ export const getInitialState = (props) => {
};
}
console.log(info);
return {
id: info.id,
name: local.name,

View File

@ -103,7 +103,6 @@ export default class IndexPage extends React.Component {
}
rehydrate = async ({ data }) => {
console.log(data);
this.setState({ viewer: { ...State.getInitialState(data) } });
};

View File

@ -236,64 +236,3 @@ export default class SceneSettings extends React.Component {
);
}
}
/*
<System.Input
containerStyle={{ marginTop: 24 }}
label="Default deal location"
description="Choose the amount of months you expect to keep files on the network for."
tooltip="This is a default value that makes sealing and storing data easier on the network. You can change this value at any time you like. Changing this value will not affect your current deals."
name="settings_deal_default_duration"
value={this.props.viewer.settings_deal_default_duration}
placeholder="Type in an amount of months"
onChange={this._handleChange}
/>
<System.Input
containerStyle={{ marginTop: 32 }}
label="Default maximum storage"
description="Choose the maximum Filecoin you are willing to pay for storage."
tooltip="Changing this value will not affect your current deals."
name="settings_deal_maximum_storage_payment"
value={this.props.viewer.settings_deal_maximum_storage_payment}
placeholder="Type in an amount of Filecoin"
onChange={this._handleChange}
/>
<System.Input
containerStyle={{ marginTop: 32 }}
label="Default replication factor"
description="Choose the default amount of times your files should replicate."
tooltip="Changing this value will not affect your current deals."
name="settings_deal_replication_factor"
value={this.props.viewer.settings_deal_replication_factor}
placeholder="Type a number"
onChange={this._handleChange}
/>
<System.DescriptionGroup
style={{ marginTop: 32 }}
label="Default miners by ID"
tooltip="Changing this value will not affect your current deals."
description="Enter the miner IDs separated by a comma for the miners you specifically want to use."
/>
<System.Textarea
value={this.props.viewer.settings_deal_default_miners}
name="settings_deal_default_miners"
onChange={this._handleChange}
/>
<System.SelectMenu
containerStyle={{ marginTop: 32 }}
label="Geographic preference"
description="Pick any location in the world you would like your files to be stored."
tooltip="Changing this value will not affect your current deals."
name="settings_deal_country"
value={this.props.viewer.settings_deal_country}
onChange={this._handleChange}
options={SELECT_MENU_OPTIONS}>
{SELECT_MENU_MAP[this.props.viewer.settings_deal_country]}
</System.SelectMenu>
*/