Skip to content

Commit

Permalink
dedupe; prettier 3.3 formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Nov 8, 2024
1 parent 9974274 commit d72a339
Show file tree
Hide file tree
Showing 3 changed files with 1,211 additions and 3,496 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const ValueWithContextViewer: FC<Props> = ({
// root header is always hidden (unless forced, but we probably won't need it)
const headerVisibility = props.header ?? (isRoot ? "hide" : "normal");
const collapsible =
headerVisibility === "hide" ? false : props.collapsible ?? true;
headerVisibility === "hide" ? false : (props.collapsible ?? true);
const size = props.size ?? "normal";
const enableDropdownMenu = viewerType !== "tooltip";

Expand Down
2 changes: 1 addition & 1 deletion packages/squiggle-lang/src/runners/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ addEventListener("message", (e: MessageEvent<SquiggleWorkerJob>) => {
} catch (e) {
postTypedMessage({
type: "internal-error",
payload: e instanceof Error ? e.stack ?? String(e) : String(e),
payload: e instanceof Error ? (e.stack ?? String(e)) : String(e),
});
}
});
Loading

0 comments on commit d72a339

Please sign in to comment.