Skip to content

Commit 25d65fc

Browse files
committed
fix: build
1 parent ebe15e2 commit 25d65fc

File tree

8 files changed

+30
-283
lines changed

8 files changed

+30
-283
lines changed

frontend/app/components/Main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { fetchGasStations, fetchPriceAvgs, fetchTimeSlots, fetchUserNotification
2323
import { type TimeSlot } from '../model/time-slot-response';
2424
import { type GsValue } from '../model/gs-point';
2525
import { type MyDataJson } from '../model/my-data-json';
26+
import { styled } from '@mui/material/styles';
2627

2728

2829
export default function Main() {
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { Config } from '@react-router/dev/config';
2+
3+
export default {
4+
// Config options...
5+
// Server-side render by default, to enable SPA mode set this to `false`
6+
ssr: false,
7+
} satisfies Config;

frontend/app/root.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
@import '@fontsource/roboto/500.css';
1616
@import '@fontsource/roboto/700.css';
1717

18+
1819
body {
1920
margin: 0;
2021
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',

frontend/app/root.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import reportWebVitals from './reportWebVitals';
1818
import { RecoilRoot } from 'recoil';
1919
import { BrowserRouter, Route, Routes } from 'react-router';
2020
import Login from './Login';
21+
import { styled } from '@mui/material/styles';
2122

2223
const root = ReactDOM.createRoot(
2324
document.getElementById('root') as HTMLElement

0 commit comments

Comments
 (0)