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();
|
||||
setTiers(data);
|
||||
} else {
|
||||
console.error('Failed to fetch users');
|
||||
console.error('failed to fetch tiers');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error fetching users:', error);
|
||||
|
@ -25,7 +25,7 @@ function PageComponent() {
|
||||
setDescription(data.description);
|
||||
setColor(data.color);
|
||||
} else {
|
||||
console.error('Failed to fetch users');
|
||||
console.error('failed to fetch tiers');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error fetching users:', error);
|
||||
|
@ -13,7 +13,7 @@ function PageComponent() {
|
||||
console.log(data)
|
||||
setUsers(data.users);
|
||||
} else {
|
||||
console.error('Failed to fetch users');
|
||||
console.error('failed to fetch tiers');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error fetching users:', error);
|
||||
|
@ -26,7 +26,7 @@ function PageComponent() {
|
||||
const data = await response.json();
|
||||
setTiers(data);
|
||||
} else {
|
||||
console.error('Failed to fetch users');
|
||||
console.error('failed to fetch tiers');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error fetching users:', error);
|
||||
|
@ -33,7 +33,7 @@ function PageComponent() {
|
||||
const data = await response.json();
|
||||
setTiers(data);
|
||||
} else {
|
||||
console.error('Failed to fetch users');
|
||||
console.error('failed to fetch tiers');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error fetching users:', error);
|
||||
@ -148,7 +148,7 @@ function PageComponent() {
|
||||
title={galleryName}
|
||||
subscription={tier}
|
||||
tags={tags}
|
||||
subscriptionColor={subscriptionColor}
|
||||
subscriptionColor={subscriptionColorç}
|
||||
showNsfw={false}
|
||||
nsfw={nsfw}
|
||||
></GalleryThumbnail>
|
||||
|
@ -32,7 +32,7 @@ const Galleries = ({ nsfw, tags, search, gallerySelected }: TagProps) => {
|
||||
const data = await response.json();
|
||||
setTiers(data);
|
||||
} else {
|
||||
console.error('Failed to fetch users');
|
||||
console.error('failed to fetch tiers');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error fetching users:', error);
|
||||
|
@ -6,7 +6,7 @@ export const createClient = () => {
|
||||
|
||||
return createServerClient(
|
||||
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
||||
process.env.NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY!,
|
||||
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
|
||||
{
|
||||
cookies: {
|
||||
get(name: string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user