Skip to content

Commit

Permalink
Default plotlypyIsAvailableState set to false to avoid crash
Browse files Browse the repository at this point in the history
  • Loading branch information
porink0424 committed Aug 28, 2024
1 parent a290c5c commit 70c65ce
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions optuna_dashboard/ts/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const artifactIsAvailable = atom<boolean>({

export const plotlypyIsAvailableState = atom<boolean>({
key: "plotlypyIsAvailable",
default: true,
default: false,
})

export const studySummariesLoadingState = atom<boolean>({
Expand Down Expand Up @@ -138,9 +138,6 @@ export const useBackendRender = (): boolean => {
if (plotlypyIsAvailable) {
return true
}
console.warn(
"Use frontend rendering because plotlypy is specified but not available."
)
}
return false
}

0 comments on commit 70c65ce

Please sign in to comment.