another one
This commit is contained in:
@@ -30,7 +30,7 @@ export function ReviewList({ productId }: ReviewListProps) {
|
||||
setIsLoading(true)
|
||||
setError(null)
|
||||
try {
|
||||
const response = await fetch(`http://localhost:8080/product/${productId}`)
|
||||
const response = await fetch(`http://localhost:8080/product/${productId}/reviews`)
|
||||
|
||||
// Добавляем логирование для отладки
|
||||
console.log("Response status:", response.status)
|
||||
|
||||
Reference in New Issue
Block a user