File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import { AddTeamModal } from "./teams/add-team-modal";
29
29
import SelectTeam from "./teams/select-team" ;
30
30
import { Progress } from "./ui/progress" ;
31
31
import { ScrollArea } from "./ui/scroll-area" ;
32
+ import Link from "next/link" ;
32
33
33
34
export default function Sidebar ( ) {
34
35
return (
@@ -155,11 +156,8 @@ export const SidebarComponent = ({ className }: { className?: string }) => {
155
156
{ /* Sidebar component, swap this element with another sidebar if you like */ }
156
157
157
158
< div className = "flex h-16 shrink-0 items-center space-x-3" >
158
- < p
159
- className = "flex items-center text-2xl font-bold tracking-tighter text-black dark:text-white"
160
- onClick = { ( ) => router . push ( "/documents" ) }
161
- >
162
- Papermark{ " " }
159
+ < p className = "flex items-center text-2xl font-bold tracking-tighter text-black dark:text-white" >
160
+ < Link href = "/documents" > Papermark{ " " } </ Link >
163
161
{ userPlan && userPlan != "free" ? (
164
162
< span className = "ml-4 rounded-full bg-background px-2.5 py-1 text-xs tracking-normal text-foreground ring-1 ring-gray-800" >
165
163
{ userPlan . charAt ( 0 ) . toUpperCase ( ) + userPlan . slice ( 1 ) }
You can’t perform that action at this time.
0 commit comments