Update VersionChooser.tsx
This commit is contained in:
parent
0b7fcbd4e2
commit
19b4da3d42
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const VersionChooser = ({
|
|||
slug,
|
||||
}: Readonly<{ doc: Document; slug: string }>) => {
|
||||
const { data, error } = useSuspenseQuery({
|
||||
queryKey: ['authors_all'],
|
||||
queryKey: [doc.manifest.authors.join(' ')],
|
||||
queryFn: () => {
|
||||
const data = loadAuthors(doc.manifest.authors)
|
||||
return data
|
||||
|
|
Loading…
Reference in a new issue