chores: minor change

This commit is contained in:
Paulo Gustavo Veiga 2021-03-02 18:03:47 -08:00
parent 0921fc41e3
commit a1325268c4
2 changed files with 2 additions and 2 deletions

View File

@ -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 || [];

View File

@ -70,4 +70,4 @@ export const activeInstanceStatus = (state: any): ClientStatus => {
};
export const { sessionExpired } = clientSlice.actions;
export default clientSlice.reducer;'
export default clientSlice.reducer;