From b96f0f0281dc0a0f2c38f2bb655588b6c156c186 Mon Sep 17 00:00:00 2001 From: Cezar Augusto Date: Thu, 15 Nov 2018 17:01:21 -0200 Subject: [PATCH] allow default device name as a way to sync a device fix https://github.com/brave/brave-browser/issues/2126 --- components/brave_sync/ui/components/modals/newToSync.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/brave_sync/ui/components/modals/newToSync.tsx b/components/brave_sync/ui/components/modals/newToSync.tsx index e32c9ca706a5..cb12ee61f944 100644 --- a/components/brave_sync/ui/components/modals/newToSync.tsx +++ b/components/brave_sync/ui/components/modals/newToSync.tsx @@ -40,7 +40,7 @@ class NewToSyncModal extends React.PureComponent { - this.props.actions.onSetupNewToSync(this.state.deviceName) + this.props.actions.onSetupNewToSync(this.deviceName) } render () {