Skip to content

Commit

Permalink
refactor: remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoSM committed Aug 13, 2023
1 parent a82b091 commit 532b201
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 34 deletions.
2 changes: 1 addition & 1 deletion apps/app/components/atoms/LeftMenuLessonItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function finishTask() {
:to="navigation._path"
class="group flex h-[32px] items-center gap-2 rounded-tr border-l border-zinc-300 px-3 py-1 text-sm font-normal text-zinc-500 hover:bg-zinc-50 hover:text-zinc-950"
:class="{ '!border-l-2 !border-green-600 !text-zinc-950': done }"
active-class="bg-zinc-100 text-zinc-950 border-zinc-900"
exact-active-class="bg-zinc-100 text-zinc-950 border-zinc-900"
:title="navigation.title"
>
<div class="flex-1 min-w-0 truncate">{{ navigation.title }}</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/app/components/molecules/LeftMenuLessons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { navigation } = defineProps<{
<h5 class="mb-2 text-xs font-semibold">{{ navigation.title }}</h5>
<LeftMenuLessonItem
v-for="item in navigation.children"
:key="item._path"
:key="item._id"
:navigation="item"
/>
</div>
Expand Down
23 changes: 0 additions & 23 deletions apps/app/stores/components/courseAside.ts

This file was deleted.

9 changes: 0 additions & 9 deletions apps/app/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@ import type { Clerk } from "@clerk/clerk-js";
import type { ofetch } from "ofetch";

declare global {
type navigationItem = {
title: string | null;
description: string | null;
image: string | undefined;
_path: string;
children: navigationItem[];
_id: string;
};

type authenticate = {
strategy: string;
redirectUrl?: string;
Expand Down

0 comments on commit 532b201

Please sign in to comment.