FPSMS-frontend
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

12345678910111213
  1. "use client";
  2. import axiosInstance from "@/app/(main)/axios/axiosInstance";
  3. import { NEXT_PUBLIC_API_URL } from "@/config/api";
  4. import type { BomScoreResult } from "./index";
  5. export const fetchBomScoresClient = async (): Promise<BomScoreResult[]> => {
  6. const response = await axiosInstance.get<BomScoreResult[]>(
  7. `${NEXT_PUBLIC_API_URL}/bom/scores`,
  8. );
  9. return response.data;
  10. };