mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-10 17:33:24 +01:00
chores: minor change
This commit is contained in:
parent
0921fc41e3
commit
a1325268c4
@ -344,7 +344,7 @@ export const MapsList = (props: MapsListProps): React.ReactElement => {
|
||||
// Follow a optimistic update approach ...
|
||||
queryClient.setQueryData<MapInfo[]>('maps', mapsInfo => {
|
||||
if (map) {
|
||||
map.starred = !map.starred;
|
||||
map.starred = starred;
|
||||
}
|
||||
return mapsInfo || [];
|
||||
|
||||
|
@ -70,4 +70,4 @@ export const activeInstanceStatus = (state: any): ClientStatus => {
|
||||
};
|
||||
|
||||
export const { sessionExpired } = clientSlice.actions;
|
||||
export default clientSlice.reducer;'
|
||||
export default clientSlice.reducer;
|
Loading…
Reference in New Issue
Block a user