diff --git a/tools/gendocs/src/@rocketseat/gatsby-theme-docs/assets/dagger-logo.jpg b/tools/gendocs/src/@rocketseat/gatsby-theme-docs/assets/dagger-logo.jpg
deleted file mode 100644
index eb586635..00000000
Binary files a/tools/gendocs/src/@rocketseat/gatsby-theme-docs/assets/dagger-logo.jpg and /dev/null differ
diff --git a/tools/gendocs/src/@rocketseat/gatsby-theme-docs/assets/dagger-logo.png b/tools/gendocs/src/@rocketseat/gatsby-theme-docs/assets/dagger-logo.png
new file mode 100644
index 00000000..7c5e64e8
Binary files /dev/null and b/tools/gendocs/src/@rocketseat/gatsby-theme-docs/assets/dagger-logo.png differ
diff --git a/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Logos.js b/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Logos.js
index 1e5a3126..35cdeea3 100644
--- a/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Logos.js
+++ b/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Logos.js
@@ -1,5 +1,5 @@
import React from 'react';
-import logo from '../assets/dagger-logo.jpg'
+import logo from '../assets/dagger-logo.png'
export default function Logo(props) {
return
diff --git a/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Sidebar/Select/index.js b/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Sidebar/Select/index.js
index 28408042..22b19355 100644
--- a/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Sidebar/Select/index.js
+++ b/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Sidebar/Select/index.js
@@ -5,7 +5,7 @@ const Select = () => {
const isBrowser = typeof window !== "undefined"
const [tagsList, setTagsList] = useState([])
const currentLocation = isBrowser ? window.location.pathname.split('/') : []
- currentLocation.pop() //remove last trailing slash
+ currentLocation.shift() //remove last trailing slash
useEffect(() => {
async function getTags() {
@@ -19,7 +19,7 @@ const Select = () => {
}, [])
return (
- isBrowser ? window.location.pathname = `/${e.currentTarget.value}` : null}>
+ isBrowser ? window.location.pathname = `/${e.currentTarget.value}` : null}>
{tagsList.map(t => (
))}