@evergis/react 3.1.69 → 3.1.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.esm.js CHANGED
@@ -4886,7 +4886,7 @@ const usePythonTask = () => {
4886
4886
  const onNotification = ({ data }) => {
4887
4887
  if (data?.taskId === newTaskId) {
4888
4888
  setStatus(data.status);
4889
- setLog([logRef.current, data.log].filter(Boolean).join("\n\n"));
4889
+ setLog([logRef.current, data.log].filter(Boolean).join("\n"));
4890
4890
  setExecutionTime(Date.now() - start);
4891
4891
  setLoading(false);
4892
4892
  setTaskId([RemoteTaskStatus.Completed, RemoteTaskStatus.Error].includes(data.status)
@@ -6789,7 +6789,6 @@ const LogTerminal = ({ log }) => {
6789
6789
  const fitAddonRef = useRef(null);
6790
6790
  const previousLogRef = useRef("");
6791
6791
  const theme = useTheme();
6792
- // Initialize terminal
6793
6792
  useEffect(() => {
6794
6793
  if (!terminalRef.current)
6795
6794
  return;
@@ -6797,11 +6796,10 @@ const LogTerminal = ({ log }) => {
6797
6796
  const terminal = new Terminal({
6798
6797
  cursorBlink: false,
6799
6798
  fontSize: 12,
6800
- fontFamily: '"Nunito Sans", sans-serif',
6799
+ fontFamily: '"Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro", monospace',
6801
6800
  scrollback: 10000,
6802
6801
  convertEol: true,
6803
6802
  lineHeight: 1.5,
6804
- letterSpacing: 0,
6805
6803
  theme: {
6806
6804
  background: theme.palette.background,
6807
6805
  foreground: theme.palette.textPrimary,
@@ -6867,7 +6865,6 @@ const LogTerminal = ({ log }) => {
6867
6865
  // Scroll to bottom
6868
6866
  xtermRef.current.scrollToBottom();
6869
6867
  }, [log]);
6870
- // Fit terminal on container resize
6871
6868
  useEffect(() => {
6872
6869
  if (!fitAddonRef.current)
6873
6870
  return;