Update Terminal.tsx
This commit is contained in:
@@ -118,6 +118,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
|||||||
const conversations = querySnapshot.docs.map((doc) => doc.data());
|
const conversations = querySnapshot.docs.map((doc) => doc.data());
|
||||||
|
|
||||||
console.log('got new or updated conversations', conversations);
|
console.log('got new or updated conversations', conversations);
|
||||||
|
|
||||||
updateConversationMap((draft) => {
|
updateConversationMap((draft) => {
|
||||||
conversations.forEach((convo) => {
|
conversations.forEach((convo) => {
|
||||||
draft[convo.id] = convo;
|
draft[convo.id] = convo;
|
||||||
@@ -287,6 +288,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
bgcolor: blueGrey[100],
|
bgcolor: blueGrey[100],
|
||||||
|
opacity: '50%',
|
||||||
borderRadius: 1,
|
borderRadius: 1,
|
||||||
px: 1,
|
px: 1,
|
||||||
py: 0.5,
|
py: 0.5,
|
||||||
|
|||||||
Reference in New Issue
Block a user