fix: top menu
This commit is contained in:
@@ -8,7 +8,6 @@ import { Input } from '../../components/ui/input';
|
||||
import { Textarea } from '../../components/ui/textarea';
|
||||
import { Tabs, TabsList, TabsTrigger, TabsContent } from '../../components/ui/tabs';
|
||||
import { Separator } from '../../components/ui/separator';
|
||||
import PageHeader from '../../components/PageHeader';
|
||||
import {
|
||||
HiOutlinePlus,
|
||||
HiOutlinePencil,
|
||||
@@ -140,7 +139,6 @@ function CourseDetail() {
|
||||
if (loading) {
|
||||
return (
|
||||
<>
|
||||
<PageHeader />
|
||||
<div className="flex items-center justify-center py-20 text-app-text-muted">Loading course...</div>
|
||||
</>
|
||||
);
|
||||
@@ -149,7 +147,6 @@ function CourseDetail() {
|
||||
if (error || !course) {
|
||||
return (
|
||||
<>
|
||||
<PageHeader />
|
||||
<div className="flex flex-col items-center justify-center py-20 text-app-text-muted">
|
||||
<HiOutlineBookOpen className="w-16 h-16 mb-4 opacity-30" />
|
||||
<p className="text-lg font-medium">{error || 'Course not found'}</p>
|
||||
@@ -170,7 +167,6 @@ function CourseDetail() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageHeader />
|
||||
|
||||
{/* Breadcrumb */}
|
||||
<div className="flex items-center gap-2 text-sm text-app-text-muted mb-4">
|
||||
|
||||
Reference in New Issue
Block a user