fix: track events issue and env variables fixes (#2184)

* fix: track event fixes

* fix: adding env variables to trubo
This commit is contained in:
sriram veeraghanta 2023-09-14 16:05:31 +05:30 committed by GitHub
parent a53b428bbd
commit 6659cfc8b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 903 additions and 971 deletions

View file

@ -15,17 +15,14 @@ import { ICustomTheme } from "types";
import { observer } from "mobx-react-lite";
// mobx store
import { useMobxStore } from "lib/mobx/store-provider";
// next themes
import { useTheme } from "next-themes";
const ProfilePreferences = observer(() => {
const { user: myProfile } = useUserAuth();
const store: any = useMobxStore();
const { theme } = useTheme();
console.log("store", store?.theme?.theme);
console.log("theme", theme);
// console.log("store", store?.theme?.theme);
// console.log("theme", theme);
const [customThemeSelectorOptions, setCustomThemeSelectorOptions] = useState(false);