This commit is contained in:
IndieKKY
2024-09-19 16:05:42 +08:00
parent 1ef7537251
commit 3adb541e99
2 changed files with 3 additions and 3 deletions

View File

@@ -408,12 +408,12 @@ const Settings = () => {
<div className='flex justify-center gap-5'>
<button className='btn btn-primary btn-sm' onClick={onSave}></button>
<button className='btn btn-sm' onClick={onCancel}></button>
<button className='btn btn-sm' onClick={() => {
{/* <button className='btn btn-sm' onClick={() => {
dispatch(setTempData({
reviewed: undefined,
// reviewActions: 0
}))
}}></button>
}}>重置</button> */}
</div>
</div>
</div>

View File

@@ -45,7 +45,7 @@ const useSubtitleService = () => {
//如果reviewActions达到15次则设置reviewed为false
useEffect(() => {
if (reviewed === undefined && reviewActions && reviewActions >= 3) {
if (reviewed === undefined && reviewActions && reviewActions >= 15) {
dispatch(setTempData({
reviewed: false
}))