appwrite / website

The Appwrite website, docs and blog 🏠
https://appwrite.io
205 stars 196 forks source link

🐛 Bug Report: There is missing '/' closing tag in Auth implementation example in tutorials #1469

Open Khushalsarode opened 2 days ago

Khushalsarode commented 2 days ago

👟 Reproduction steps

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:

👍 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?

Khushalsarode commented 20 hours ago

@stnguyen90