Enable automatic browsing upvotes
This commit is contained in:
1 parent
27012399ec
commit
7bf1aa9d24
26 files changed
+339
-57
No files matched your search
@@ -13,6 +13,7 @@ import {
|
||||
pauseGrowth,
|
||||
removeGrowthSubreddit,
|
||||
resumeGrowth,
|
||||
runBrowsingSimulation,
|
||||
updateGrowthSettings,
|
||||
updateBrowsingSettings,
|
||||
updateGrowthSubreddit,
|
||||
@@ -72,6 +73,10 @@ export function useUpdateBrowsingSettingsMutation(accountId: string) {
|
||||
);
|
||||
}
|
||||
|
||||
export function useRunBrowsingSimulationMutation(accountId: string) {
|
||||
return useGrowthMutation<void>(accountId, () => runBrowsingSimulation(accountId));
|
||||
}
|
||||
|
||||
export function usePauseGrowthMutation(accountId: string) {
|
||||
return useGrowthMutation(accountId, (reason?: string) => pauseGrowth(accountId, reason));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user