editpage-fix
This commit is contained in:
parent
90691aa650
commit
c623356893
|
@ -125,7 +125,7 @@ export const AuthorsProvider = (props: { children: JSX.Element }) => {
|
|||
return sortedTopAuthors
|
||||
})
|
||||
|
||||
const loadAuthorsPage = async (args: QueryLoad_Authors_ByArgs): Promise<void> => {
|
||||
const loadAuthorsPaginated = async (args: QueryLoad_Authors_ByArgs): Promise<void> => {
|
||||
try {
|
||||
const fetcher = await loadAuthors(args)
|
||||
const data = await fetcher()
|
||||
|
@ -179,7 +179,7 @@ export const AuthorsProvider = (props: { children: JSX.Element }) => {
|
|||
addAuthors,
|
||||
addAuthor,
|
||||
loadAuthor,
|
||||
loadAuthors: loadAuthorsPage,
|
||||
loadAuthors: loadAuthorsPaginated,
|
||||
topAuthors,
|
||||
authorsByTopic,
|
||||
setAuthorsSort
|
||||
|
|
|
@ -27,7 +27,7 @@ export const getContentTypeTitle = (layout: LayoutType) => {
|
|||
}
|
||||
}
|
||||
|
||||
export const EditPage = () => {
|
||||
export default () => {
|
||||
const { t } = useLocalize()
|
||||
const { session } = useSession()
|
||||
const snackbar = useSnackbar()
|
||||
|
@ -70,5 +70,3 @@ export const EditPage = () => {
|
|||
</PageLayout>
|
||||
)
|
||||
}
|
||||
|
||||
export default EditPage
|
||||
|
|
Loading…
Reference in New Issue
Block a user