Fix linting

This commit is contained in:
yangdx
2025-03-20 01:17:59 +08:00
parent e9fc12042c
commit 5e22e034e9

View File

@@ -95,10 +95,10 @@ const GraphLabels = () => {
const handleRefresh = useCallback(() => {
// Reset labels fetch status to allow fetching labels again
useGraphStore.getState().setLabelsFetchAttempted(false)
// Reset graph data fetch status directly, not depending on allDatabaseLabels changes
useGraphStore.getState().setGraphDataFetchAttempted(false)
// Fetch all labels again
useGraphStore.getState().fetchAllDatabaseLabels()
.then(() => {