Skip to content

Commit

Permalink
feat: avatar's background color will be random. (piyushgarg-dev#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
estd20xx committed Oct 7, 2023
1 parent 349ba74 commit 5e6744f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/Dashboard/DashboardSidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import Image from 'next/image'
import Link from 'next/link'
import { usePathname } from 'next/navigation'
import { Fragment, use, useState } from 'react'
import { Fragment, } from 'react'

import {
DropdownMenu,
Expand All @@ -22,6 +22,7 @@ import { useSelectedProject } from '@/hooks/query/project'
import { useCurrentUser } from '@/hooks/query/user'
import { cn } from '@/lib/utils'
import Avatar from "react-avatar"

const routes = [
{
name: 'COLLECT',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.3"
}
}
}

0 comments on commit 5e6744f

Please sign in to comment.