mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
* Query search page under SQL Lab tab * Modifications based on comments * Hash * Added spec and endpoint test with modifications based on second round comments * Changed permission menu in https://github.com/airbnb/caravel/pull/1095/files
28 lines
689 B
JavaScript
28 lines
689 B
JavaScript
const $ = window.$ = require('jquery');
|
|
const jQuery = window.jQuery = $; // eslint-disable-line
|
|
require('bootstrap');
|
|
|
|
import React from 'react';
|
|
import { render } from 'react-dom';
|
|
import { initialState, sqlLabReducer } from './reducers';
|
|
import { enhancer } from '../reduxUtils';
|
|
import { createStore } from 'redux';
|
|
import { Provider } from 'react-redux';
|
|
|
|
import App from './components/App';
|
|
|
|
|
|
require('./main.css');
|
|
|
|
let store = createStore(sqlLabReducer, initialState, enhancer());
|
|
|
|
// jquery hack to highlight the navbar menu
|
|
$('a:contains("SQL Lab")').parent().addClass('active');
|
|
|
|
render(
|
|
<Provider store={store}>
|
|
<App />
|
|
</Provider>,
|
|
document.getElementById('app')
|
|
);
|