diff --git a/generated/graphql.ts b/generated/graphql.ts index 91ad7c5..05a4180 100644 --- a/generated/graphql.ts +++ b/generated/graphql.ts @@ -2973,7 +2973,7 @@ export type Unnamed_1_QueryVariables = {}; export type Unnamed_1_Query = ( { __typename?: 'Query' } - & { archives: ( + & { spotlights: ( { __typename?: 'FileConnection' } & { edges: Array<( { __typename?: 'FileEdge' } diff --git a/src/components/ArchivesSidebar/index.tsx b/src/components/ArchivesSidebar/index.tsx index f6a3424..ea65ab9 100644 --- a/src/components/ArchivesSidebar/index.tsx +++ b/src/components/ArchivesSidebar/index.tsx @@ -11,7 +11,7 @@ import * as SC from "./styles" const ALL_ARCHIVES = graphql` query { - archives: allFile( + spotlights: allFile( filter: { sourceInstanceName: { eq: "spotlights" } } ) { edges {