POW everything
This commit is contained in:
@ -157,6 +157,24 @@ const PreferencesPage = () => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="card flex">
|
||||
<div className="flex f-col f-grow">
|
||||
<div>
|
||||
<FormattedMessage defaultMessage="Proof of Work" />
|
||||
</div>
|
||||
<small>
|
||||
<FormattedMessage defaultMessage="Amount of work to apply to all published events" />
|
||||
</small>
|
||||
</div>
|
||||
<div>
|
||||
<input
|
||||
type="number"
|
||||
defaultValue={perf.pow}
|
||||
min={0}
|
||||
onChange={e => updatePreferences(login, { ...perf, pow: parseInt(e.target.value || "0") })}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="card flex">
|
||||
<div className="flex f-col f-grow">
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user