Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.

Commit e65d9bf

Browse files
committed
fix: fixed namings and nested if statements
1 parent ef17279 commit e65d9bf

File tree

8 files changed

+139
-214
lines changed

8 files changed

+139
-214
lines changed

dist/components/atoms/NetworkIndicator.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ export interface NetworkIndicatorProps {
33
iconClassName?: string;
44
currentNetworkId?: number;
55
requiredNetworkId?: number;
6-
onRightNetworkMessage?: string;
7-
onWrongNetworkMessage?: string;
6+
onCorrectNetworkMessage?: string;
7+
onNetworkMismatchMessage?: string;
88
noNetworkMessage?: string;
99
}
1010
export declare enum NetworkStatus {
1111
NO_NETWORK = 1,
1212
NETWORK_MISSMATCH = 2,
13-
RIGHT_NETWORK = 3
13+
CORRECT_NETWORK = 3
1414
}
1515
declare const NetworkIndicator: FC<NetworkIndicatorProps>;
1616
export default NetworkIndicator;

dist/components/molecules/Account.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export interface AccountProps {
99
providers?: EProvider[];
1010
currentNetworkId?: number;
1111
requiredNetworkId?: number;
12-
onRightNetworkMessage?: string;
13-
onWrongNetworkMessage?: string;
12+
onCorrectNetworkMessage?: string;
13+
onNetworkMismatchMessage?: string;
1414
noNetworkMessage?: string;
1515
}
1616
declare const Account: FC<AccountProps>;

dist/index.js

Lines changed: 15 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)