fix: Some spots where navigation state was not preserved
fix: Collection in main nav pops open when moving from starred collection
This commit is contained in:
@@ -54,7 +54,7 @@ const CollectionLink: React.FC<Props> = ({
|
||||
await collection.save({
|
||||
name,
|
||||
});
|
||||
history.push(collection.url);
|
||||
history.replace(collection.url, history.location.state);
|
||||
},
|
||||
[collection, history]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user