mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
makes feedback icon always visible for mobile
This commit is contained in:
@@ -19,10 +19,6 @@ const ConversationBubble = forwardRef<
|
||||
ref,
|
||||
) {
|
||||
const [showFeedback, setShowFeedback] = useState(false);
|
||||
// const [overriddenFeedback, setOverriddenFeedback] = useState<
|
||||
// FEEDBACK | undefined
|
||||
// >(undefined);
|
||||
// const effectiveFeedback = overriddenFeedback ?? feedback;
|
||||
let bubble;
|
||||
|
||||
if (type === 'QUESTION') {
|
||||
@@ -59,7 +55,7 @@ const ConversationBubble = forwardRef<
|
||||
className={`mr-2 flex items-center justify-center ${
|
||||
feedback === 'LIKE' || (type !== 'ERROR' && showFeedback)
|
||||
? ''
|
||||
: 'invisible'
|
||||
: 'md:invisible'
|
||||
}`}
|
||||
>
|
||||
<Like
|
||||
@@ -75,7 +71,7 @@ const ConversationBubble = forwardRef<
|
||||
className={`mr-10 flex items-center justify-center ${
|
||||
feedback === 'DISLIKE' || (type !== 'ERROR' && showFeedback)
|
||||
? ''
|
||||
: 'invisible'
|
||||
: 'md:invisible'
|
||||
}`}
|
||||
>
|
||||
<Dislike
|
||||
|
||||
Reference in New Issue
Block a user