fix(media): add inline podcast player, video buffering track, click-outside speed menu and safe product edit trim
Deploy Canina / deploy (push) Has been cancelled
Deploy Canina / deploy (push) Has been cancelled
This commit is contained in:
1 parent
95d79518e7
commit
36e382cf16
17 files changed
+12496
-11618
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import api from './api';
|
||||
import { PRODUCTS, Product, PetType } from "../data/products";
|
||||
import { Banner } from "../types";
|
||||
|
||||
const CATEGORY_SLUG_TO_NAME: Record<string, string> = {
|
||||
'joints': 'مفاصل و استخوان',
|
||||
@@ -323,7 +324,7 @@ export class ProductService {
|
||||
}
|
||||
}
|
||||
|
||||
public async getBanners(): Promise<Record<string, unknown>[]> {
|
||||
public async getBanners(): Promise<Banner[]> {
|
||||
try {
|
||||
const response = await api.get('/banners');
|
||||
return response.data || [];
|
||||
|
||||
Reference in new issue
Block a user