mirror of
https://github.com/bendtherules/some-hooks.git
synced 2026-08-18 13:52:05 +00:00
prettier - Format existing files with prettier
This commit is contained in:
+6
-10
@@ -1,13 +1,9 @@
|
||||
import React from 'react'
|
||||
import React from "react";
|
||||
|
||||
import { useMyHook } from 'some-hooks'
|
||||
import { useMyHook } from "some-hooks";
|
||||
|
||||
const App = () => {
|
||||
const example = useMyHook()
|
||||
return (
|
||||
<div>
|
||||
{example}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
export default App
|
||||
const example = useMyHook();
|
||||
return <div>{example}</div>;
|
||||
};
|
||||
export default App;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
|
||||
import './index.css'
|
||||
import App from './App'
|
||||
import "./index.css";
|
||||
import App from "./App";
|
||||
|
||||
ReactDOM.render(<App />, document.getElementById('root'))
|
||||
ReactDOM.render(<App />, document.getElementById("root"));
|
||||
|
||||
Reference in New Issue
Block a user