fix prettier errors
This commit is contained in:
parent
d2d31e346a
commit
41b1ac1852
39 changed files with 150 additions and 153 deletions
|
|
@ -152,7 +152,7 @@ export function userExitTermGroup(uid: string) {
|
|||
if (group.sessionUid) {
|
||||
dispatch(userExitSession(group.sessionUid));
|
||||
} else {
|
||||
group.children.forEach(childUid => {
|
||||
group.children.forEach((childUid) => {
|
||||
dispatch(userExitTermGroup(childUid));
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ export function moveTo(i: number | 'last') {
|
|||
const {termGroups} = getState().termGroups;
|
||||
i =
|
||||
Object.keys(termGroups)
|
||||
.map(uid => termGroups[uid])
|
||||
.map((uid) => termGroups[uid])
|
||||
.filter(({parentUid}) => !parentUid).length - 1;
|
||||
}
|
||||
dispatch({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue