Skip to content

Commit

Permalink
create runtime errors
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmwang committed Oct 31, 2024
1 parent f91b00b commit 0dab2e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/backend/src/bootstrap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { Config } from "../config";
import loaders from "./loaders";

export default async (config: Config) => {
const t: Number[] = []
console.log(t[0]);

const app = express();
app.set("trust proxy", 1);

Expand Down
3 changes: 3 additions & 0 deletions apps/frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ import { createRoot } from "react-dom/client";
import App from "./App";
import "./main.scss";

const t: Number[] = []
console.log(t[0]);

createRoot(document.getElementById("root") as HTMLElement).render(<App />);

0 comments on commit 0dab2e4

Please sign in to comment.