mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-09-13 09:43:30 +02:00
chore: format frontend with prettier
This commit is contained in:
@@ -5,14 +5,14 @@ import Home from "./pages/Home";
|
||||
import Stream from "./pages/Stream";
|
||||
|
||||
function App() {
|
||||
const path = window.location.pathname.toLowerCase();
|
||||
const path = window.location.pathname.toLowerCase();
|
||||
|
||||
let content = <Home />;
|
||||
if (path === "/stream") {
|
||||
content = <Stream />;
|
||||
}
|
||||
let content = <Home />;
|
||||
if (path === "/stream") {
|
||||
content = <Stream />;
|
||||
}
|
||||
|
||||
return <Layout>{content}</Layout>;
|
||||
return <Layout>{content}</Layout>;
|
||||
}
|
||||
|
||||
export default App;
|
||||
|
||||
Reference in New Issue
Block a user