Fix linting
This commit is contained in:
parent
06bff7e836
commit
c1e931b9f2
3 changed files with 5 additions and 5 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue