diff --git a/package.json b/package.json index 4dd567af7..967c00680 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "@types/invariant": "^2.2.30", "@types/jest": "^24.0.16", "@types/lodash.debounce": "^4.0.6", + "@types/lodash.isequal": "^4.5.5", "@types/react": "^16.8.24", "@types/react-dom": "^16.8.5", "@types/react-redux": "^7.1.1", @@ -123,6 +124,7 @@ "line-replace": "^1.0.2", "live-plugin-manager": "^0.13.2", "lodash.debounce": "^4.0.8", + "lodash.isequal": "^4.5.0", "mkdirp": "^0.5.1", "node-fetch": "^2.3.0", "open": "^6.4.0", diff --git a/src/chrome/SettingsSheet.tsx b/src/chrome/SettingsSheet.tsx index 14c292d29..ec44fa0cf 100644 --- a/src/chrome/SettingsSheet.tsx +++ b/src/chrome/SettingsSheet.tsx @@ -25,6 +25,7 @@ import {flush} from '../utils/persistor'; import {promises as fs} from 'fs'; import {remote} from 'electron'; import path from 'path'; +import isEqual from 'lodash.isequal'; const Container = styled(FlexColumn)({ padding: 20, @@ -158,7 +159,12 @@ class SignInSheet extends Component { - diff --git a/yarn.lock b/yarn.lock index 21ae3744c..1abc6143a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1172,6 +1172,13 @@ dependencies: "@types/lodash" "*" +"@types/lodash.isequal@^4.5.5": + version "4.5.5" + resolved "https://registry.yarnpkg.com/@types/lodash.isequal/-/lodash.isequal-4.5.5.tgz#4fed1b1b00bef79e305de0352d797e9bb816c8ff" + integrity sha512-4IKbinG7MGP131wRfceK6W4E/Qt3qssEFLF30LnJbjYiSfHGGRU/Io8YxXrZX109ir+iDETC8hw8QsDijukUVg== + dependencies: + "@types/lodash" "*" + "@types/lodash@*": version "4.14.136" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.136.tgz#413e85089046b865d960c9ff1d400e04c31ab60f" @@ -5942,6 +5949,11 @@ lodash.debounce@^4.0.8: resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= +lodash.isequal@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" + integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA= + lodash.isplainobject@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"