mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-22 02:11:14 +00:00
fix: always load tab on remount
it fixes a bug, which leads to missing tab content load when opening package info
This commit is contained in:
@@ -54,6 +54,7 @@ export default function EventsTab({ packageBase, repository }: EventsTabProps):
|
||||
enabled: !!packageBase,
|
||||
queryFn: () => client.fetch.fetchPackageEvents(repository, packageBase, 30),
|
||||
queryKey: QueryKeys.events(repository, packageBase),
|
||||
refetchOnMount: "always",
|
||||
});
|
||||
|
||||
const rows = useMemo<EventRow[]>(() => events.map((event, index) => ({
|
||||
|
||||
Reference in New Issue
Block a user