-
-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
the following code works
export async function getStaticProps() {
const { data } = await supabaseAdmin.storage.listBuckets()
return {
props: {
images: data
}
};
}
export default function Gallery( images : any ) {
console.log(images)
return (
<h1>hello
</h1>
);
}but this returns me an empty list
export async function getStaticProps() {
//const { data } = await supabaseAdmin.storage.listBuckets()
const { data } = await supabaseAdmin.storage.from('allimages').list()
return {
props: {
images: data
}
};
}
export default function Gallery( images : any ) {
console.log(images)
return (
<h1>hello
</h1>
);
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
