<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: João Pedro</title>
    <description>The latest articles on DEV Community by João Pedro (@devjoao98).</description>
    <link>https://dev.to/devjoao98</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F789693%2F936cee12-1865-440d-8292-f56d7986b812.jpeg</url>
      <title>DEV Community: João Pedro</title>
      <link>https://dev.to/devjoao98</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devjoao98"/>
    <language>en</language>
    <item>
      <title>Erro no Switch</title>
      <dc:creator>João Pedro</dc:creator>
      <pubDate>Mon, 10 Jan 2022 16:12:57 +0000</pubDate>
      <link>https://dev.to/devjoao98/erro-5e07</link>
      <guid>https://dev.to/devjoao98/erro-5e07</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;export default function Routes(){
    return(
        &amp;lt;BrowserRouter&amp;gt;
            &amp;lt;Switch&amp;gt;
                {/* Rota Client*/}
                &amp;lt;Route path='/' exact component={Home} /&amp;gt;
                &amp;lt;Route path='/produtos/:idProduto' exact component={ProdutoDeteils} /&amp;gt;

                {/* Rota Admin*/}
                &amp;lt;Route path='/admin' exact component={Dashboard} /&amp;gt;

                &amp;lt;Route path='/admin/produtos' exact component={Produtos} /&amp;gt;
                &amp;lt;Route path='/admin/produtos/cadastrar' exact component={ProdutoCadastrar} /&amp;gt;
                &amp;lt;Route path='/admin/produtos/editar/:idProduto' exact component={ProdutoEditar} /&amp;gt;

                &amp;lt;Route path='/admin/usuarios' exact component={Usuarios} /&amp;gt;
                &amp;lt;Route path='/admin/usuarios/cadastrar' exact component={UsuarioCadastrar} /&amp;gt;
                &amp;lt;Route path='/admin/usuarios/editar/:idUsuarios' exact component={UsuarioEditar} /&amp;gt;
            &amp;lt;/Switch&amp;gt;
        &amp;lt;/BrowserRouter&amp;gt;
    )
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;}&lt;code&gt;&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
