Skip to content

Commit

Permalink
Fixing leaf segment rendering error
Browse files Browse the repository at this point in the history
  • Loading branch information
jurabek committed Feb 25, 2024
1 parent f3e1bf9 commit 8618826
Show file tree
Hide file tree
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
Expand Up @@ -36,6 +36,7 @@ services:
depends_on:
- redis
restart: always

order-api:
image: restaurant/order-api
container_name: order
Expand Down
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 } }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.