This commit is contained in:
Flatlogic Bot 2026-03-13 01:48:56 +00:00
parent 1b8ef692d3
commit 81d9c6f6ac

View File

@ -14,7 +14,7 @@ const ProductList: React.FC = () => {
const [loading, setLoading] = useState<boolean>(true);
useEffect(() => {
axios.get('http://127.0.0.1:8000/api/products/')
axios.get('http://127.0.0.1:8000/products/')
.then(response => {
setProducts(response.data);
setLoading(false);