Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing leaf segment rendering error
Browse files Browse the repository at this point in the history
jurabek committed Feb 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f3e1bf9 commit 8618826
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/backend/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@ services:
depends_on:
- redis
restart: always

order-api:
image: restaurant/order-api
container_name: order
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getOrderByTransactionID, sleep } from '@/lib/fetch';
import CheckoutCompleted from '../../../components/checkout/checkout-completed';
import CheckoutCompleted from '../../components/checkout/checkout-completed';
import { revalidateTag } from 'next/cache';

export default async function Page({ searchParams }: { searchParams?: { [key: string]: string } }) {
Original file line number Diff line number Diff line change
@@ -92,5 +92,5 @@ export async function checkoutServer(prevState: any, formData: FormData): Promis
});

cookies().delete('cartId');
redirect(createUrl(`/checkout/completed`, params));
redirect(createUrl(`/completed`, params));
}

0 comments on commit 8618826

Please sign in to comment.