Skip to content

Commit 8aee6eb

Browse files
authored
Merge pull request #771 from thecodacus/app-fail-safari-fix
fix: Application fails to load on Safari
2 parents 278322d + 8deed62 commit 8aee6eb

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

app/commit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "commit": "995fb81ac7a03eb1a6d1c56cf2fc92a60028c024" , "version": "" }
1+
{ "commit": "995fb81ac7a03eb1a6d1c56cf2fc92a60028c024" , "version": "" }

app/components/settings/features/FeaturesTab.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { Switch } from '~/components/ui/Switch';
33
import { useSettings } from '~/lib/hooks/useSettings';
44

55
export default function FeaturesTab() {
6-
7-
const { debug, enableDebugMode, isLocalModel, enableLocalModels, enableEventLogs, latestBranch, enableLatestBranch } = useSettings();
6+
const { debug, enableDebugMode, isLocalModel, enableLocalModels, enableEventLogs, latestBranch, enableLatestBranch } =
7+
useSettings();
88

99
const handleToggle = (enabled: boolean) => {
1010
enableDebugMode(enabled);

app/lib/hooks/useSettings.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export function useSettings() {
9999
if (checkCommit === undefined) {
100100
checkCommit = commit.commit;
101101
}
102+
102103
if (savedLatestBranch === undefined || checkCommit !== commit.commit) {
103104
// If setting hasn't been set by user, check version
104105
checkIsStableVersion().then((isStable) => {
36 KB
Loading

public/apple-touch-icon.png

36 KB
Loading

0 commit comments

Comments
 (0)