applied the cool new carousel css feature!
This commit is contained in:
parent
6a0c1cb377
commit
3142ac6185
8 changed files with 233 additions and 75 deletions
|
@ -13,8 +13,7 @@ const client = createClient<paths>({
|
|||
|
||||
export const listUsers = query(async () => {
|
||||
const { data, error } = await client.GET("/Users", {
|
||||
params: {
|
||||
},
|
||||
params: {},
|
||||
});
|
||||
|
||||
return data ?? [];
|
||||
|
@ -62,7 +61,7 @@ export const getContinueWatching = query(
|
|||
const items = (data?.Items ?? []).map(({ Id, Name }) => ({
|
||||
id: Id,
|
||||
title: Name,
|
||||
thumbnail: `${baseUrl}Items/${Id}/Images/Primary`,
|
||||
thumbnail: `${baseUrl}/Items/${Id}/Images/Primary`,
|
||||
}));
|
||||
|
||||
return items;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue