Skip to content

Commit

Permalink
wip n1
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperolet committed Oct 13, 2023
1 parent cb92e7d commit 25f4816
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions front/pages/w/[wId]/members/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
import { UsersIcon } from "@heroicons/react/20/solid";
import { GetServerSideProps, InferGetServerSidePropsType } from "next";
import { useState } from "react";
import React from "react";
import { useSWRConfig } from "swr";

import AppLayout from "@app/components/sparkle/AppLayout";
Expand All @@ -30,8 +31,6 @@ import { useMembers, useWorkspaceInvitations } from "@app/lib/swr";
import { classNames, isEmailValid } from "@app/lib/utils";
import { MembershipInvitationType } from "@app/types/membership_invitation";
import { UserType, WorkspaceType } from "@app/types/user";
import React from "react";
import { set } from "fp-ts";

const { GA_TRACKING_ID = "", URL = "" } = process.env;

Expand Down Expand Up @@ -171,7 +170,7 @@ export default function WorkspaceAdmin({
size="sm"
icon={ClipboardIcon}
onClick={() => {
navigator.clipboard.writeText(inviteLink);
void navigator.clipboard.writeText(inviteLink);
}}
/>
</div>
Expand Down

0 comments on commit 25f4816

Please sign in to comment.