fix: Fix teams helper image background color mode (#15918)
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com> Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com> Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
This commit is contained in:
1 file changed
+2
-2
@@ -27,11 +27,11 @@ export function UpgradeTip({
|
||||
isParentLoading?: ReactNode;
|
||||
plan: "team" | "enterprise";
|
||||
}) {
|
||||
const { activeTheme } = useGetTheme();
|
||||
const { resolvedTheme } = useGetTheme();
|
||||
const { t } = useLocale();
|
||||
const { isPending, hasTeamPlan } = useHasTeamPlan();
|
||||
const { data } = trpc.viewer.teams.getUpgradeable.useQuery();
|
||||
const imageSrc = `${background}${activeTheme === "dark" ? "-dark" : ""}.jpg`;
|
||||
const imageSrc = `${background}${resolvedTheme === "dark" ? "-dark" : ""}.jpg`;
|
||||
|
||||
const hasEnterprisePlan = false;
|
||||
//const { isPending , hasEnterprisePlan } = useHasEnterprisePlan();
|
||||
|
||||
Reference in new issue
Block a user