fix: redux migrate error
This commit is contained in:
@@ -808,6 +808,13 @@ const migrateConfig = {
|
||||
return state
|
||||
},
|
||||
'86': (state: RootState) => {
|
||||
if (!state.ocr) {
|
||||
state.ocr = {
|
||||
defaultProvider: '',
|
||||
providers: []
|
||||
}
|
||||
}
|
||||
|
||||
if (!state.ocr.providers) {
|
||||
state.ocr.providers = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user