fix style and ahoy configure
This commit is contained in:
@@ -243,7 +243,7 @@ export const Sidebar = () => {
|
||||
</Button>
|
||||
</DialogTrigger>
|
||||
|
||||
<DialogContent className="max-w-full max-w-screen-md xl:max-w-screen-lg h-5/6 p-0">
|
||||
<DialogContent className="max-w-screen-md xl:max-w-screen-lg h-5/6 p-0">
|
||||
<Preferences />
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
|
||||
@@ -73,15 +73,16 @@ export const AppSettingsProvider = ({
|
||||
locale: language,
|
||||
})
|
||||
);
|
||||
|
||||
if (user) {
|
||||
ahoy.configure({
|
||||
urlPrefix: apiUrl,
|
||||
});
|
||||
ahoy.track("logged in", { user: user.id });
|
||||
}
|
||||
}, [user, apiUrl, language]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!apiUrl) return;
|
||||
|
||||
ahoy.configure({
|
||||
urlPrefix: apiUrl,
|
||||
});
|
||||
}, [apiUrl]);
|
||||
|
||||
const prepareFfmpeg = async () => {
|
||||
try {
|
||||
const valid = await EnjoyApp.ffmpeg.check();
|
||||
|
||||
Reference in New Issue
Block a user