Fix type errors on cookie banner pages
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -90,6 +90,7 @@ export default function CookieBannerCookiesPage({
|
||||
<CategoryDialog
|
||||
cookieBannerId={banner.id}
|
||||
connectionId={connectionId}
|
||||
nextRank={sorted.length > 0 ? sorted[sorted.length - 1].rank + 1 : 0}
|
||||
onOpenChange={setShowCreateDialog}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -29,7 +29,7 @@ export const cookieBannersOverviewPageQuery = graphql`
|
||||
organization: node(id: $organizationId) {
|
||||
__typename
|
||||
... on Organization {
|
||||
cookieBanners(first: 50, orderBy: { field: CREATED_AT, direction: DESC }) {
|
||||
cookieBanners(first: 50, orderBy: { field: CREATED_AT, direction: DESC }) @required(action: THROW) {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user