@@ -246,9 +246,8 @@ const Chat = forwardRef((props: Props, ref) => {
onTouchMove={handleTouchMove}
onMouseDown={startRecording}
onMouseUp={handleTouchEnd}
- className={`p-4 rounded-full w-full ${
- isRecording ? "bg-red-500" : "bg-gray-300"
- }`}
+ className={`p-4 rounded-full w-full ${isRecording ? "bg-red-500" : "bg-gray-300"
+ }`}
>
{isRecording ? "松开 结束" : "按住 说话"}