Jon Taylor commited on
Commit
2ae2b29
·
1 Parent(s): 1a7b0d4

added waiting message

Browse files
Files changed (1) hide show
  1. frontend/app/components/Controls.js +11 -2
frontend/app/components/Controls.js CHANGED
@@ -12,6 +12,7 @@ import {
12
  IconArrowDownRight,
13
  IconMinus,
14
  IconPlus,
 
15
  IconRotateClockwise,
16
  } from "@tabler/icons-react";
17
  import React, { useCallback, useEffect, useRef } from "react";
@@ -62,8 +63,16 @@ export const Controls = React.memo(({ remoteParams, onData }) => {
62
  overlayProps={{ blur: 2 }}
63
  loaderProps={{
64
  children: (
65
- <div className="animate-pulse font-medium">
66
- Waiting for bot to join...
 
 
 
 
 
 
 
 
67
  </div>
68
  ),
69
  }}
 
12
  IconArrowDownRight,
13
  IconMinus,
14
  IconPlus,
15
+ IconRobot,
16
  IconRotateClockwise,
17
  } from "@tabler/icons-react";
18
  import React, { useCallback, useEffect, useRef } from "react";
 
63
  overlayProps={{ blur: 2 }}
64
  loaderProps={{
65
  children: (
66
+ <div className="animate-pulse font-medium text-center">
67
+ <IconRobot
68
+ size={42}
69
+ stroke={1}
70
+ className="mx-auto mb-2 text-indigo-600"
71
+ />
72
+ <div>Waiting for bot to initialize...</div>
73
+ <div className="text-sm font-normal text-zinc-600">
74
+ It may take a few minutes
75
+ </div>
76
  </div>
77
  ),
78
  }}