Fix prettier
This commit is contained in:
+6
-6
@@ -20,12 +20,12 @@ import "./App.scss";
|
||||
import SingleColumn from "./layouts/SingleColumn";
|
||||
|
||||
const App: React.FC = () => {
|
||||
return (
|
||||
<SingleColumn>
|
||||
<div className="topSpacer" />
|
||||
<div className="bottomSpacer" />
|
||||
</SingleColumn>
|
||||
);
|
||||
return (
|
||||
<SingleColumn>
|
||||
<div className="topSpacer" />
|
||||
<div className="bottomSpacer" />
|
||||
</SingleColumn>
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
|
||||
+4
-4
@@ -4,8 +4,8 @@ import "./index.scss";
|
||||
import App from "./App";
|
||||
|
||||
ReactDOM.render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
document.getElementById("root")
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
document.getElementById("root")
|
||||
);
|
||||
|
||||
@@ -19,11 +19,11 @@ import React from "react";
|
||||
import "./SingleColumn.scss";
|
||||
|
||||
interface IProps {
|
||||
children?: React.ReactNode;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
const SingleColumn: React.FC<IProps> = (props: IProps) => {
|
||||
return <div className="singleColumnLayout">{props.children}</div>;
|
||||
return <div className="singleColumnLayout">{props.children}</div>;
|
||||
};
|
||||
|
||||
export default SingleColumn;
|
||||
|
||||
Reference in New Issue
Block a user