aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vnext/src/ui/Settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/Settings.js b/vnext/src/ui/Settings.js
index c16a8289..ba0286ca 100644
--- a/vnext/src/ui/Settings.js
+++ b/vnext/src/ui/Settings.js
@@ -116,7 +116,7 @@ export default function Settings({ visitor, onChange }) {
{visitor.telegramName ? (
<form>
<div>Telegram: <b> {visitor.telegramName} </b> &mdash;
- <Button onClick={this.disableTelegram}>Disable</Button>
+ <Button onClick={disableTelegram}>Disable</Button>
</div>
</form>
) : (