Skip to content

Commit

Permalink
fix variable type
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Nov 10, 2023
1 parent 8036cd8 commit 53548d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Campaign/TextBlockList/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.gridContainer {
position: relative;
/* justify-content: space-between; */
}

.spot {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/campaigns/social-login-gnosis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Campaigns: NextPage<InferGetStaticPropsType<typeof getStaticProps>> = (pro
export const getStaticProps = async () => {
const contentOrder = await client.getEntries<TypeContentOrderSkeleton>({ content_type: 'contentOrder' })

let content = [...contentOrder.items[0].fields.componentName]
const content = [...contentOrder.items[0].fields.componentName]

const fetchedEntries = await Promise.all(
content.map(async (content_type) => await client.getEntries({ content_type })),
Expand Down

0 comments on commit 53548d4

Please sign in to comment.