style: fix type problem

pull/13/head
moonrailgun 3 years ago
parent d19f88ff94
commit e450b9f329

@ -29,6 +29,8 @@ const userSlice = createSlice({
if (state.info === null) {
return;
}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
state.info[fieldName] = fieldValue;
},
setFriendList(state, action: PayloadAction<string[]>) {

Loading…
Cancel
Save