= ({ onEditEvent }) => {
{Object.entries(sectionLimits).map(([sec, limit]) => (
Sec {sec}
- {limit}
+ {String(limit)}
))}
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 8b0f57b..acf5451 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -4,4 +4,9 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
+ server: {
+ host: true,
+ port: 5176,
+ allowedHosts: true,
+ },
})