From 9e79f477ab04624f30ddf5039d953cfed8516722 Mon Sep 17 00:00:00 2001 From: Cezar Augusto Date: Thu, 15 Nov 2018 16:51:40 -0200 Subject: [PATCH] remove console errors in sync fix https://github.com/brave/brave-browser/issues/2132 --- browser/ui/webui/brave_webui_source.cc | 1 + components/brave_sync/ui/components/enabledContent.tsx | 2 +- components/resources/brave_components_strings.grd | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/browser/ui/webui/brave_webui_source.cc b/browser/ui/webui/brave_webui_source.cc index cf630154552f..74a71eebde17 100644 --- a/browser/ui/webui/brave_webui_source.cc +++ b/browser/ui/webui/brave_webui_source.cc @@ -441,6 +441,7 @@ void CustomizeWebUIHTMLSource(const std::string &name, content::WebUIDataSource* { "browsingHistory", IDS_BRAVE_SYNC_BROWSING_HISTORY }, { "clearData", IDS_BRAVE_SYNC_CLEAR_DATA }, { "resetSync", IDS_BRAVE_SYNC_RESET_SYNC }, + { "removeDevice", IDS_BRAVE_SYNC_REMOVE_DEVICE }, { "setUpSync", IDS_BRAVE_SYNC_SET_UP_SYNC }, diff --git a/components/brave_sync/ui/components/enabledContent.tsx b/components/brave_sync/ui/components/enabledContent.tsx index 7f17eff2f4f5..96faad8684f2 100644 --- a/components/brave_sync/ui/components/enabledContent.tsx +++ b/components/brave_sync/ui/components/enabledContent.tsx @@ -81,7 +81,7 @@ class SyncEnabledContent extends React.PureComponentBrowsing History Clear Data Reset Sync + Remove Set up Sync Enter your Sync code words: Enter a name for this device: