Skip to content

Commit

Permalink
Format code with black and prettier
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 1ba02f6 according to the output
from black and prettier.

Details: https://deepsource.io/gh/deepsourcelabs/good-first-issue/transform/69a62258-c609-4bc8-aa0e-8c36babb9a9d/
  • Loading branch information
deepsource-autofix[bot] authored and sanket-deepsource committed Dec 22, 2020
1 parent 1ba02f6 commit dc90b5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 4 additions & 8 deletions components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,18 @@
<header class="w-full py-4 border-b border-ink-200 bg-ink-400">
<nav class="flex items-center justify-center flex-wrap">
<nuxt-link to="/" class="flex items-center text-gray-700 font-bold">
<img
src="~/assets/gfi-logo-white.svg"
alt="Good First Issue"
class="h-12"
/>
<img src="~/assets/gfi-logo-white.svg" alt="Good First Issue" class="h-12" />
</nuxt-link>
<span class="text-2xl cursor-pointer" v-if="activeTag">
<span class="font-normal ml-2 mr-1 text-slate">/</span>
<span class="font-semibold text-juniper">{{ activeTag.language }}</span>
<span class="font-semibold text-juniper">{{ activeTag.language }}</span>
</span>
</nav>
</header>
</template>

<script>
import { find } from "lodash"
import { find } from 'lodash'
import Tags from '~/data/tags.json'
export default {
Expand All @@ -26,7 +22,7 @@ export default {
},
computed: {
activeTag: function () {
return find(Tags, {slug: this.$route.params.slug})
return find(Tags, { slug: this.$route.params.slug })
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions pages/language/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ export default {
},
async asyncData({ params }) {
const repos = filter(Repositories, { slug: params.slug })
const tag = find(Tags, {slug: params.slug})
const tag = find(Tags, { slug: params.slug })
return { repos, tag }
},
components: {
RepoBox
},
}
}
</script>

0 comments on commit dc90b5a

Please sign in to comment.