mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
style: 💄 run Prettier
This commit is contained in:
parent
8c2c4ef3e8
commit
409dbdca38
@ -24,7 +24,7 @@ const useMap = <T extends object = any>(initialMap: T = {} as T): [T, Actions<T>
|
||||
set(prevMap => {
|
||||
const { [key]: omit, ...rest } = prevMap;
|
||||
return rest as T;
|
||||
} );
|
||||
});
|
||||
},
|
||||
reset: () => set(initialMap),
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user