load logo in client
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-06-03 22:25:26 +03:30
parent dc3646eef6
commit ace6a0b288
1870 changed files with 104 additions and 345 deletions
@@ -1,4 +1,5 @@
import { api } from "@/config/axios";
import { RESTAURANT_FETCH_TIMEOUT_MS } from "@/app/[name]/lib/getRestaurant";
import {
AboutResponse,
ReviewsResponse,
@@ -6,7 +7,9 @@ import {
} from "../types/Types";
export const getAbout = async (name: string): Promise<AboutResponse> => {
const { data } = await api.get<AboutResponse>(`/public/restaurants/${name}`);
const { data } = await api.get<AboutResponse>(`/public/restaurants/${name}`, {
timeout: RESTAURANT_FETCH_TIMEOUT_MS,
});
return data;
};