From 76fd482077fcbd6861200d27d5ac8a6aad0dcedf Mon Sep 17 00:00:00 2001 From: Maxim Sukharev Date: Tue, 14 Aug 2018 17:43:53 +0200 Subject: [PATCH] disable example autorun Signed-off-by: Maxim Sukharev --- frontend/src/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index d5b73e4..af35383 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -152,7 +152,7 @@ SELECT files.repository_id, files.file_path, )) as functions FROM files NATURAL JOIN refs -WHERE +WHERE LANGUAGE(files.file_path,files.blob_content) = 'Go' AND refs.ref_name = 'HEAD'` } @@ -259,7 +259,7 @@ AND refs.ref_name = 'HEAD'` } handleExampleClick(sql) { - this.setState({ sql }, this.handleSubmit); + this.setState({ sql }); } loadSchema() {