Fakultas Ilmu Komputer UI

Commit ec2fae03 authored by wulanmantiri's avatar wulanmantiri
Browse files

[REFACTOR] Fix bugs

parent d5965d09
Pipeline #84199 passed with stages
in 10 minutes and 33 seconds
......@@ -19,6 +19,7 @@ import { setCache, getCache } from 'utils/cache';
import { PricingList } from './components';
import { initialValues, getRecommendedPrograms } from './schema';
import { UserContext } from 'provider';
import { TransactionStatus } from 'services/payment/models';
const ChoosePlan: FC = () => {
const navigation = useNavigation();
......@@ -47,6 +48,7 @@ const ChoosePlan: FC = () => {
setUser({
...user,
cart_id: cartId,
transaction_status: TransactionStatus.UNPAID,
});
navigation.navigate(ROUTES.checkout);
} else {
......
import { StyleSheet } from 'react-native';
import { colors, typography } from 'styles';
import { colors, typography, layoutStyles } from 'styles';
export const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
...layoutStyles,
paddingHorizontal: 30,
},
nutritionist: {
textAlign: 'center',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment