flow fix
This commit is contained in:
parent
b4669d841e
commit
1e658b6cf3
1 changed files with 17 additions and 17 deletions
|
@ -127,23 +127,23 @@ export default function SettingContent(props: Props) {
|
||||||
onChange={() => setClientSetting(SETTINGS.PERSIST_WATCH_TIME, !persistWatchTime)}
|
onChange={() => setClientSetting(SETTINGS.PERSIST_WATCH_TIME, !persistWatchTime)}
|
||||||
checked={persistWatchTime}
|
checked={persistWatchTime}
|
||||||
/>
|
/>
|
||||||
{/* </div> */}
|
{/* </div>
|
||||||
{/* Disabled until styling is better */}
|
Disabled until styling is better
|
||||||
{/* <div className="settings__persistWatchTimeClearCache"> */}
|
<div className="settings__persistWatchTimeClearCache">
|
||||||
{/* <Button */}
|
<Button
|
||||||
{/* button="primary" */}
|
button="primary"
|
||||||
{/* icon={ICONS.ALERT} */}
|
icon={ICONS.ALERT}
|
||||||
{/* label={ */}
|
label={
|
||||||
{/* contentCacheCleared */}
|
contentCacheCleared
|
||||||
{/* ? __('Views cleared') */}
|
? __('Views cleared')
|
||||||
{/* : clearingContentCache */}
|
: clearingContentCache
|
||||||
{/* ? __('Clearing...') */}
|
? __('Clearing...')
|
||||||
{/* : __('Clear Views') */}
|
: __('Clear Views')
|
||||||
{/* } */}
|
}
|
||||||
{/* onClick={onClearContentCache} */}
|
onClick={onClearContentCache}
|
||||||
{/* disabled={clearingContentCache || contentCacheCleared} */}
|
disabled={clearingContentCache || contentCacheCleared}
|
||||||
{/* /> */}
|
/>
|
||||||
{/* </div> */}
|
</div> */}
|
||||||
</SettingsRow>
|
</SettingsRow>
|
||||||
<SettingsRow title={__('Show mature content')} subtitle={__(HELP.SHOW_MATURE)}>
|
<SettingsRow title={__('Show mature content')} subtitle={__(HELP.SHOW_MATURE)}>
|
||||||
<FormField
|
<FormField
|
||||||
|
|
Loading…
Reference in a new issue