fix ai activity plan conversion and immediate goals refresh
This commit is contained in:
1 parent
e119f0923c
commit
c877577fba
2 files changed
+36
-7
No files matched your search
@@ -200,10 +200,10 @@ export default function GoalsScreen() {
|
||||
try {
|
||||
setIsGeneratingPlan(true);
|
||||
await generateSelfPlan();
|
||||
await refetchRecommendations();
|
||||
await Promise.all([refetchRecommendations(), refetchGoals()]);
|
||||
Alert.alert(
|
||||
"Plan Ready",
|
||||
"Your new AI activity plan has been generated.",
|
||||
"Your new AI activity plan has been generated and active goals were added.",
|
||||
);
|
||||
} catch (error) {
|
||||
const message =
|
||||
|
||||
Reference in new issue
Block a user