Skip to content

Commit 9250bbf

Browse files
goosewobblergoosewobbler
authored and
goosewobbler
committed
more fixes
1 parent 472bf7c commit 9250bbf

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

app/dash/Accounts/Add/AddPhrase/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from 'react'
2-
31
import { AddHotAccount } from '../Components'
42
import { utils } from 'ethers'
53

main/provider/chains/index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// @ts-ignore
21
import deepEqual from 'deep-equal'
32

4-
import { getColor } from '../../../resources/colors'
3+
import { Colorway, getColor } from '../../../resources/colors'
54
import store from '../../store'
65

76
// typed access to state

package-lock.json

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
"@testing-library/react": "13.4.0",
139139
"@testing-library/user-event": "14.4.3",
140140
"@types/cookie": "0.5.1",
141+
"@types/deep-equal": "^1.0.1",
141142
"@types/get-pixels": "3.3.2",
142143
"@types/hdkey": "2.0.1",
143144
"@types/jest": "29.2.6",

resources/colors/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,9 @@ export function getColor(key: keyof ColorwayPalette, colorway: Colorway) {
3434
return { ...color, hex: `#${toHex(color.r)}${toHex(color.g)}${toHex(color.b)}` }
3535
}
3636

37+
export enum Colorway {
38+
light = 'light',
39+
dark = 'dark'
40+
}
41+
3742
export { light as LIGHT, dark as DARK }

0 commit comments

Comments
 (0)