Skip to content

Commit

Permalink
fix(gno/dao): delete fakeRoles
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelVallenet committed Nov 11, 2024
1 parent ee26a23 commit 2efbcf5
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions packages/components/user/UserCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import {
ViewStyle,
} from "react-native";

import { UserDisplayName } from "./UserDisplayName";
import { Username } from "./Username";
import dotsCircleSVG from "../../../assets/icons/dots-circle.svg";
import trashSVG from "../../../assets/icons/trash.svg";
import { useFeedbacks } from "../../context/FeedbacksProvider";
Expand Down Expand Up @@ -41,6 +39,8 @@ import { SVG } from "../SVG";
import { BoxStyle } from "../boxes/Box";
import { TertiaryBox } from "../boxes/TertiaryBox";
import { UserAvatarWithFrame } from "../images/AvatarWithFrame";
import { UserDisplayName } from "./UserDisplayName";

Check failure on line 42 in packages/components/user/UserCard.tsx

View workflow job for this annotation

GitHub Actions / lint-and-build

`./UserDisplayName` import should occur before import of `../../../assets/icons/dots-circle.svg`
import { Username } from "./Username";

Check failure on line 43 in packages/components/user/UserCard.tsx

View workflow job for this annotation

GitHub Actions / lint-and-build

`./Username` import should occur before import of `../../../assets/icons/dots-circle.svg`

export const UserCard: React.FC<{
userId: string;
Expand Down Expand Up @@ -252,20 +252,6 @@ const FollowingFollowers: React.FC<{ style?: StyleProp<ViewStyle> }> = ({
);
};

const fakeRoles: { highlight?: boolean; text: string }[] = [
{
text: "Hiring",
highlight: true,
},
{ text: "Teritorian" },
{ text: "Torishark" },
{ text: "OG" },
{ text: "Ripper" },
{ text: "Squad leader" },
{ text: "NFT Enjoyoor" },
{ text: "Tester" },
];

const useProposeToRemoveMember = (daoId: string | undefined) => {
const makeProposal = useDAOMakeProposal(daoId);
const { data: groupAddress } = useDAOGroup(daoId);
Expand Down

0 comments on commit 2efbcf5

Please sign in to comment.