Code generated include {` and `}

//App.tsx
{`import { InventoryDashboard } from "./components/InventoryDashboard";
import { SignInForm } from "./SignInForm";
import { SignOutButton } from "./SignOutButton";
import { useConvexAuth } from "convex/react";

function App() {
const { isAuthenticated, isLoading } = useConvexAuth();

if (isLoading) {
return <div>Loading...</div>;
}

return (
<main>
{!isAuthenticated ? (
<SignInForm />
) : (
<div>
<SignOutButton />
<InventoryDashboard />
</div>
)}
</main>
);
}

export default App;`}
//App.tsx
{`import { InventoryDashboard } from "./components/InventoryDashboard";
import { SignInForm } from "./SignInForm";
import { SignOutButton } from "./SignOutButton";
import { useConvexAuth } from "convex/react";

function App() {
const { isAuthenticated, isLoading } = useConvexAuth();

if (isLoading) {
return <div>Loading...</div>;
}

return (
<main>
{!isAuthenticated ? (
<SignInForm />
) : (
<div>
<SignOutButton />
<InventoryDashboard />
</div>
)}
</main>
);
}

export default App;`}
No description
2 Replies
Nicolas
Nicolas3w ago
Thanks for your report! This looks similar to this bug another user experienced recently Pinging @sujayakar to be sure he sees this
sujayakar
sujayakar3w ago
which model is this on @Thích Cốt Bất ?

Did you find this page helpful?