fix: Show toast after copy referral link + change icon to "gift" (#16618)
Co-authored-by: zomars <[email protected]>
This commit is contained in:
1 parent
d9133cb395
commit
f2b3e620b4
9 files changed
+41
-17
No files matched your search
@@ -1,10 +1,13 @@
|
||||
import * as React from "react";
|
||||
import SVG from "react-inlinesvg";
|
||||
|
||||
// eslint-disable-next-line turbo/no-undeclared-env-vars
|
||||
const vercelCommitHash = process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA;
|
||||
const commitHash = vercelCommitHash ? `-${vercelCommitHash.slice(0, 7)}` : "";
|
||||
|
||||
export function IconSprites() {
|
||||
return (
|
||||
<SVG
|
||||
src={`${process.env.NEXT_PUBLIC_WEBAPP_URL}/icons/sprite.svg?v=${process.env.NEXT_PUBLIC_CALCOM_VERSION}`}
|
||||
src={`${process.env.NEXT_PUBLIC_WEBAPP_URL}/icons/sprite.svg?v=${process.env.NEXT_PUBLIC_CALCOM_VERSION}-${commitHash}`}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -67,6 +67,7 @@ export const lucideIconList = new Set([
|
||||
"fingerprint",
|
||||
"flag",
|
||||
"folder",
|
||||
"gift",
|
||||
"git-merge",
|
||||
"github",
|
||||
"globe",
|
||||
|
||||
@@ -67,6 +67,7 @@ export type IconName =
|
||||
| "fingerprint"
|
||||
| "flag"
|
||||
| "folder"
|
||||
| "gift"
|
||||
| "git-merge"
|
||||
| "github"
|
||||
| "globe"
|
||||
|
||||
Reference in new issue
Block a user