From cb5ed77b12e1a41fa22f036333d6afd586d0f4f1 Mon Sep 17 00:00:00 2001 From: dat Date: Sat, 22 Sep 2018 01:06:04 +0700 Subject: [PATCH 1/2] fix issue #1486 fix issue #1486 --- src/shared/components/Settings/Profile/Skills/index.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shared/components/Settings/Profile/Skills/index.jsx b/src/shared/components/Settings/Profile/Skills/index.jsx index 01e8b7bace..f9bb77a901 100644 --- a/src/shared/components/Settings/Profile/Skills/index.jsx +++ b/src/shared/components/Settings/Profile/Skills/index.jsx @@ -200,7 +200,6 @@ export default class Skills extends ConsentComponent { )); if (index > -1) { - toastr.info('', `You've already added skill "${selectedSkill.name}".`); return; } From fcf8e7fc03077a213580eae053f6ec53eafee2c6 Mon Sep 17 00:00:00 2001 From: dat Date: Sat, 22 Sep 2018 01:19:52 +0700 Subject: [PATCH 2/2] fix lint error --- src/shared/components/Settings/Profile/Skills/index.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shared/components/Settings/Profile/Skills/index.jsx b/src/shared/components/Settings/Profile/Skills/index.jsx index f9bb77a901..fd1b4bd2d4 100644 --- a/src/shared/components/Settings/Profile/Skills/index.jsx +++ b/src/shared/components/Settings/Profile/Skills/index.jsx @@ -11,7 +11,6 @@ import _ from 'lodash'; import path from 'path'; import React from 'react'; import PT from 'prop-types'; -import { toastr } from 'react-redux-toastr'; import requireContext from 'require-context'; import Select from 'components/Select';