Here is details
Source path file:: src/routes/docs/tutorials/react/step-7/+page.markdoc
currently the code:
function App() {
const isLoginPage = window.location.pathname === "/login";
return (
<div>
<UserProvider>
<IdeasProvider>
<Navbar /> {/* Add the navbar before page content */}
<main>{isLoginPage ? <Login /> : <Home />}</main>
</IdeasProvider>
<UserProvider> #error here while trying to build using documentation
</div>
);
}
export default App;
need to update is:
</UserProvider>
need the closing slash to remove error!
👍 Expected behavior
The code should not prompt error while following tutorials at path src/routes/docs/tutorials/react/step-7/+page.markdoc for implementing auth example for idea tracker.
👎 Actual Behavior
Should Work fine after the correction is done!
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Windows
🧱 Your Environment
Code editor: VS code
Terminal: Windows Terminal
OS: windows
👀 Have you spent some time to check if this issue has been raised before?
👟 Reproduction steps
Here is details Source path file::
src/routes/docs/tutorials/react/step-7/+page.markdoc
currently the code:need to update is:
</UserProvider>
need the closing slash to remove error!👍 Expected behavior
The code should not prompt error while following tutorials at path src/routes/docs/tutorials/react/step-7/+page.markdoc for implementing auth example for idea tracker.
👎 Actual Behavior
Should Work fine after the correction is done!
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Windows
🧱 Your Environment
Code editor: VS code Terminal: Windows Terminal OS: windows
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?