fix(plugin): align _find_mangohud_log with scoped clear, reset lastLogPath on error
This commit is contained in:
@@ -70,6 +70,7 @@ function Content() {
|
||||
const logResult = await readAndParseMangohudLog(logPath.path ?? undefined)
|
||||
if (logResult.error) {
|
||||
setError(logResult.error)
|
||||
setLastLogPath(null)
|
||||
return
|
||||
}
|
||||
setLastLogPath(logPath.path ?? null)
|
||||
|
||||
Reference in New Issue
Block a user