scroll changes + hour view fix
This commit is contained in:
1 parent
84298ecda6
commit
0aed9cbe72
15 files changed
+13658
-35773
No files matched your search
Generated
+292
-28419
File diff suppressed because it is too large.
Load diff
@@ -24,7 +24,6 @@
|
||||
"react-scripts": "file:../node_modules/react-scripts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/plugin-syntax-object-rest-spread": "^7.8.3"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
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";
|
||||
|
||||
it('renders without crashing', () => {
|
||||
const div = document.createElement('div')
|
||||
ReactDOM.render(<App />, div)
|
||||
ReactDOM.unmountComponentAtNode(div)
|
||||
})
|
||||
it("renders without crashing", () => {
|
||||
const div = document.createElement("div");
|
||||
ReactDOM.render(<App />, div);
|
||||
ReactDOM.unmountComponentAtNode(div);
|
||||
});
|
||||
@@ -6,7 +6,7 @@ type ViewSwitcherProps = {
|
||||
onViewListChange: (isChecked: boolean) => void;
|
||||
onViewModeChange: (viewMode: ViewMode) => void;
|
||||
};
|
||||
export const ViewSwitcher: React.SFC<ViewSwitcherProps> = ({
|
||||
export const ViewSwitcher: React.FC<ViewSwitcherProps> = ({
|
||||
onViewModeChange,
|
||||
onViewListChange,
|
||||
isChecked,
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import "./index.css";
|
||||
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import App from "./App";
|
||||
|
||||
ReactDOM.render(<App />, document.getElementById("root"));
|
||||
const container = document.getElementById("root");
|
||||
const root = createRoot(container!);
|
||||
root.render(<App />);
|
||||
Reference in new issue
Block a user