Fix: refresh
This commit is contained in:
parent
4ddc76faa4
commit
c46eec06a5
4 changed files with 15 additions and 10 deletions
|
|
@ -51,8 +51,7 @@ export default function Page() {
|
|||
router.back();
|
||||
}}/>
|
||||
<NavigationButton text="Save" onPress={() => {
|
||||
addCategory(categoryName, categoryColor, selectedType, amount);
|
||||
router.back();
|
||||
addCategory(categoryName, categoryColor, selectedType, amount).then(() => router.back());
|
||||
}}/>
|
||||
</View>
|
||||
</View>
|
||||
|
|
|
|||
Reference in a new issue