Skip to content

Commit 4825dab

Browse files
committed
chore: remove redundant code
1 parent bc9413b commit 4825dab

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/networkConfig.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ import type { NetworkOptions, ThemeColors } from './types';
66
* @returns vis-network options object
77
*/
88
export function getDefaultNetworkOptions(themeColors: ThemeColors): NetworkOptions {
9-
return {
10-
autoResize: true,
11-
width: '100%',
12-
height: '100%',
13-
9+
return {
1410
// Configure canvas background color based on theme
1511
configure: {
1612
enabled: false

src/types.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ export interface ThemeColors {
5252

5353
// vis-network types
5454
export interface NetworkOptions {
55-
autoResize: boolean;
56-
width: string;
57-
height: string;
5855
configure: {
5956
enabled: boolean;
6057
};

0 commit comments

Comments
 (0)