@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/index.js CHANGED
@@ -4888,7 +4888,7 @@ const usePythonTask = () => {
4888
4888
  const onNotification = ({ data }) => {
4889
4889
  if (data?.taskId === newTaskId) {
4890
4890
  setStatus(data.status);
4891
- setLog([logRef.current, data.log].filter(Boolean).join("\n\n"));
4891
+ setLog([logRef.current, data.log].filter(Boolean).join("\n"));
4892
4892
  setExecutionTime(Date.now() - start);
4893
4893
  setLoading(false);
4894
4894
  setTaskId([api.RemoteTaskStatus.Completed, api.RemoteTaskStatus.Error].includes(data.status)
@@ -6791,7 +6791,6 @@ const LogTerminal = ({ log }) => {
6791
6791
  const fitAddonRef = React.useRef(null);
6792
6792
  const previousLogRef = React.useRef("");
6793
6793
  const theme = styled.useTheme();
6794
- // Initialize terminal
6795
6794
  React.useEffect(() => {
6796
6795
  if (!terminalRef.current)
6797
6796
  return;
@@ -6799,11 +6798,10 @@ const LogTerminal = ({ log }) => {
6799
6798
  const terminal = new xterm.Terminal({
6800
6799
  cursorBlink: false,
6801
6800
  fontSize: 12,
6802
- fontFamily: '"Nunito Sans", sans-serif',
6801
+ fontFamily: '"Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro", monospace',
6803
6802
  scrollback: 10000,
6804
6803
  convertEol: true,
6805
6804
  lineHeight: 1.5,
6806
- letterSpacing: 0,
6807
6805
  theme: {
6808
6806
  background: theme.palette.background,
6809
6807
  foreground: theme.palette.textPrimary,
@@ -6869,7 +6867,6 @@ const LogTerminal = ({ log }) => {
6869
6867
  // Scroll to bottom
6870
6868
  xtermRef.current.scrollToBottom();
6871
6869
  }, [log]);
6872
- // Fit terminal on container resize
6873
6870
  React.useEffect(() => {
6874
6871
  if (!fitAddonRef.current)
6875
6872
  return;