mirror of
https://github.com/koodiklinikka/palkkakysely.git
synced 2026-02-20 16:55:16 +00:00
Run prettier
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
import React from 'react';
|
||||
import PivotTableUI from 'react-pivottable/PivotTableUI';
|
||||
import 'react-pivottable/pivottable.css';
|
||||
import TableRenderers from 'react-pivottable/TableRenderers';
|
||||
import createPlotlyComponent from 'react-plotly.js/factory';
|
||||
import createPlotlyRenderers from 'react-pivottable/PlotlyRenderers';
|
||||
import React from "react";
|
||||
import PivotTableUI from "react-pivottable/PivotTableUI";
|
||||
import "react-pivottable/pivottable.css";
|
||||
import TableRenderers from "react-pivottable/TableRenderers";
|
||||
import createPlotlyComponent from "react-plotly.js/factory";
|
||||
import createPlotlyRenderers from "react-pivottable/PlotlyRenderers";
|
||||
import useSWR from "swr/esm";
|
||||
|
||||
const Plot = createPlotlyComponent(window.Plotly);
|
||||
const PlotlyRenderers = createPlotlyRenderers(Plot);
|
||||
const renderers = Object.assign({}, TableRenderers, PlotlyRenderers);
|
||||
|
||||
|
||||
function App() {
|
||||
const qs = new URLSearchParams(window.location.search);
|
||||
const [pivotState, setPivotState] = React.useState({});
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import App from './App';
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
import App from "./App";
|
||||
|
||||
ReactDOM.render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
document.getElementById('root')
|
||||
document.getElementById("root"),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user