mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
fix #444
This commit is contained in:
parent
f3262e7666
commit
629c4c43e8
1
.env
1
.env
@ -1,2 +1,3 @@
|
||||
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-JKZEHMJBMH
|
||||
NEXT_PUBLIC_NODE_LIMIT=600
|
||||
NEXT_TELEMETRY_DISABLED=1
|
1
.env.development
Normal file
1
.env.development
Normal file
@ -0,0 +1 @@
|
||||
NEXT_PUBLIC_NODE_LIMIT=1000
|
@ -134,7 +134,7 @@ const GraphCanvas = ({ isWidget }: GraphProps) => {
|
||||
);
|
||||
};
|
||||
|
||||
const SUPPORTED_LIMIT = 600;
|
||||
const SUPPORTED_LIMIT = +(process.env.NEXT_PUBLIC_NODE_LIMIT as string);
|
||||
|
||||
export const GraphView = ({ isWidget = false }: GraphProps) => {
|
||||
const setViewPort = useGraph(state => state.setViewPort);
|
||||
|
Loading…
x
Reference in New Issue
Block a user