Skip to content

Commit

Permalink
[#207]
Browse files Browse the repository at this point in the history
Fix the ul li key warning as well
  • Loading branch information
tommyttf authored and pauljaijai committed Nov 6, 2023
1 parent 0f24866 commit 938937c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/components/customized-ui/drop-down-menu/user.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import {
import { useToast } from "@/components/ui/use-toast"
import BaseAvatar from "@/components/customized-ui/avatars/base"





const UserDropDownMenu = () => {
const user = useUserStore((state) => state)
const userState = useUserStore((state) => state)
Expand Down
4 changes: 4 additions & 0 deletions client/components/customized-ui/form/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ import {
} from "@/components/ui/select"
import { IFormTextInputProps } from "@/components/customized-ui/form/input"





interface IFormSelectProps extends IFormTextInputProps {
options: { value: string; title: string }[]
defaultValue?: string
Expand Down
4 changes: 4 additions & 0 deletions client/components/customized-ui/selects/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import {
SelectValue,
} from "@/components/ui/select"





export interface ISelectOption {
value: string
title: string
Expand Down
4 changes: 4 additions & 0 deletions client/components/ui/toaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ import {
} from "@/components/ui/toast"
import { useToast } from "@/components/ui/use-toast"





export function Toaster() {
const { toasts } = useToast()

Expand Down
4 changes: 4 additions & 0 deletions client/modules/contributors/components/contributor-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import { IContributor } from "@/modules/contributors/types/contributor"
import { Card, CardTitle } from "@/components/ui/card"
import { Icons } from "@/components/icons"





interface IContributorCard extends IContributor {}

const ContributorCard: React.FunctionComponent<IContributorCard> = ({
Expand Down
4 changes: 4 additions & 0 deletions client/modules/contributors/template.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import ContributorCard from "@/modules/contributors/components/contributor-card"
import contributors from "@/modules/contributors/data/contributors"





const ContributorsPageTemplate = () => {
return (
<>
Expand Down

0 comments on commit 938937c

Please sign in to comment.