feat: add Sentry source map upload configuration and update environment variables
This commit is contained in:
@@ -31,7 +31,9 @@ export const useWatchedItemsQuery = (enabled: boolean) => {
|
||||
throw new Error(error.message || 'Failed to fetch watched items');
|
||||
}
|
||||
|
||||
return response.json();
|
||||
const json = await response.json();
|
||||
// API returns { success: true, data: [...] }, extract the data array
|
||||
return json.data ?? json;
|
||||
},
|
||||
enabled,
|
||||
// Keep data fresh for 1 minute since users actively manage watched items
|
||||
|
||||
Reference in New Issue
Block a user