Fix linting
This commit is contained in:
@@ -49,7 +49,7 @@ const GraphLabels = () => {
|
||||
? result
|
||||
: [...result.slice(0, labelListLimit), '...']
|
||||
},
|
||||
[getSearchEngine, t]
|
||||
[getSearchEngine]
|
||||
)
|
||||
|
||||
return (
|
||||
@@ -68,7 +68,7 @@ const GraphLabels = () => {
|
||||
value={label !== null ? label : '*'}
|
||||
onChange={(newLabel) => {
|
||||
const currentLabel = useSettingsStore.getState().queryLabel
|
||||
|
||||
|
||||
if (newLabel === '...') {
|
||||
newLabel = '*'
|
||||
}
|
||||
|
@@ -149,8 +149,8 @@ const GraphViewer = () => {
|
||||
)
|
||||
|
||||
return (
|
||||
<SigmaContainer
|
||||
settings={sigmaSettings}
|
||||
<SigmaContainer
|
||||
settings={sigmaSettings}
|
||||
className="!bg-background !size-full overflow-hidden"
|
||||
ref={sigmaRef}
|
||||
>
|
||||
|
@@ -222,7 +222,7 @@ const useLightrangeGraph = () => {
|
||||
state.sigmaGraph?.setNodeAttribute(node, 'highlighted', false);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
state.setIsFetching(true);
|
||||
fetchStatusRef.current[fetchKey] = true;
|
||||
fetchGraph(queryLabel, maxQueryDepth, minDegree).then((data) => {
|
||||
|
Reference in New Issue
Block a user