I will intentionally add multiple errors to test the Fix All Errors button
// Update this page (the content is just a fallback if you fail to update the page)
import { MadeWithDyad } from "@/components/made-with-dyad";
const Index = () => {
throw new Error("First error in Index");
return (
Welcome to Your Blank App
Start building your amazing project here!
);
};
export default Index;
Error: First error in Index
at Index (http://localhost:5173/src/pages/Index.tsx:6:7)
const ErrorComponent = () => {
throw new Error("Second error in ErrorComponent");
return
This will never render
;
};
export default ErrorComponent;
Error: Second error in ErrorComponent
at ErrorComponent (http://localhost:5173/src/components/ErrorComponent.tsx:2:9)
export const brokenHelper = () => {
throw new Error("Third error in helper");
};
Error: Third error in helper
at brokenHelper (http://localhost:5173/src/utils/helper.ts:2:9)