Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jsartisan committed Oct 11, 2024
1 parent 57c8549 commit db2bc5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import styles from "./styles.module.css";
import React, { useState } from "react";
import {
Avatar,
Button,
Expand All @@ -11,6 +10,8 @@ import {
Text,
} from "@appsmith/wds";

import styles from "./styles.module.css";

// this value might come from props in future. So keeping a temporary value here.
const LOGO =
"https://app.appsmith.com/static/media/appsmith_logo_square.3867b1959653dabff8dc.png";
Expand All @@ -21,7 +22,7 @@ export const ChatHeader: React.FC<{
chatDescription?: string;
}> = ({ chatDescription, chatTitle, username }) => {
const [isChatDescriptionModalOpen, setIsChatDescriptionModalOpen] =
React.useState(false);
useState(false);

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,3 @@
align-items: center;
}
}

.thread {
display: flex;
flex-direction: column;
gap: var(--inner-spacing-3);
align-self: stretch;
padding: 0px var(--inner-spacing-6) var(--inner-spacing-5)
var(--inner-spacing-6);
}

0 comments on commit db2bc5c

Please sign in to comment.