forked from Archives/Athou_commafeed
redirect to new feed after subscribe now works even for existing feeds
This commit is contained in:
@@ -41,7 +41,7 @@ export function Subscribe() {
|
||||
const subscribe = useAsyncCallback(client.feed.subscribe, {
|
||||
onSuccess: sub => {
|
||||
dispatch(reloadTree())
|
||||
dispatch(redirectToFeed(sub.data.id))
|
||||
dispatch(redirectToFeed(sub.data))
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user