mirror of
https://github.com/D4M13N-D3V/neroshitron.git
synced 2025-03-14 10:05:04 +00:00
fix
This commit is contained in:
parent
65ddd704f0
commit
5d96002a2e
@ -14,7 +14,7 @@ function PageComponent() {
|
|||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
setTiers(data);
|
setTiers(data);
|
||||||
} else {
|
} else {
|
||||||
console.error('Failed to fetch users');
|
console.error('failed to fetch tiers');
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error fetching users:', error);
|
console.error('Error fetching users:', error);
|
||||||
|
@ -25,7 +25,7 @@ function PageComponent() {
|
|||||||
setDescription(data.description);
|
setDescription(data.description);
|
||||||
setColor(data.color);
|
setColor(data.color);
|
||||||
} else {
|
} else {
|
||||||
console.error('Failed to fetch users');
|
console.error('failed to fetch tiers');
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error fetching users:', error);
|
console.error('Error fetching users:', error);
|
||||||
|
@ -13,7 +13,7 @@ function PageComponent() {
|
|||||||
console.log(data)
|
console.log(data)
|
||||||
setUsers(data.users);
|
setUsers(data.users);
|
||||||
} else {
|
} else {
|
||||||
console.error('Failed to fetch users');
|
console.error('failed to fetch tiers');
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error fetching users:', error);
|
console.error('Error fetching users:', error);
|
||||||
|
@ -26,7 +26,7 @@ function PageComponent() {
|
|||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
setTiers(data);
|
setTiers(data);
|
||||||
} else {
|
} else {
|
||||||
console.error('Failed to fetch users');
|
console.error('failed to fetch tiers');
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error fetching users:', error);
|
console.error('Error fetching users:', error);
|
||||||
|
@ -33,7 +33,7 @@ function PageComponent() {
|
|||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
setTiers(data);
|
setTiers(data);
|
||||||
} else {
|
} else {
|
||||||
console.error('Failed to fetch users');
|
console.error('failed to fetch tiers');
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error fetching users:', error);
|
console.error('Error fetching users:', error);
|
||||||
@ -148,7 +148,7 @@ function PageComponent() {
|
|||||||
title={galleryName}
|
title={galleryName}
|
||||||
subscription={tier}
|
subscription={tier}
|
||||||
tags={tags}
|
tags={tags}
|
||||||
subscriptionColor={subscriptionColor}
|
subscriptionColor={subscriptionColorç}
|
||||||
showNsfw={false}
|
showNsfw={false}
|
||||||
nsfw={nsfw}
|
nsfw={nsfw}
|
||||||
></GalleryThumbnail>
|
></GalleryThumbnail>
|
||||||
|
@ -32,7 +32,7 @@ const Galleries = ({ nsfw, tags, search, gallerySelected }: TagProps) => {
|
|||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
setTiers(data);
|
setTiers(data);
|
||||||
} else {
|
} else {
|
||||||
console.error('Failed to fetch users');
|
console.error('failed to fetch tiers');
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error fetching users:', error);
|
console.error('Error fetching users:', error);
|
||||||
|
@ -6,7 +6,7 @@ export const createClient = () => {
|
|||||||
|
|
||||||
return createServerClient(
|
return createServerClient(
|
||||||
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
||||||
process.env.NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY!,
|
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
|
||||||
{
|
{
|
||||||
cookies: {
|
cookies: {
|
||||||
get(name: string) {
|
get(name: string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user