Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed Sep 21, 2023
1 parent 85ec62c commit 52416f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/web-console/src/components/Page/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const Page = ({ children, icon, title }: Props) => {
<Sidebar>
<Logo />
<Button
skin="transparent"
skin="secondary"
type="button"
onClick={() => dispatch(actions.console.setActivePanel("console"))}
>
Expand Down
2 changes: 1 addition & 1 deletion packages/web-console/src/scenes/Console/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const Console = () => {
placement="bottom"
trigger={
<Button
skin="transparent"
skin="secondary"
onClick={() =>
updateSettings(
StoreKey.RESULTS_SPLITTER_BASIS,
Expand Down
7 changes: 0 additions & 7 deletions packages/web-console/src/scenes/Editor/Menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import { Slack } from "styled-icons/boxicons-logos"
import {
ErrorButton,
IconWithTooltip,
Input,
Link,
PaneMenu,
PopperToggle,
Expand Down Expand Up @@ -163,9 +162,6 @@ const Menu = () => {
const { quest } = useContext(QuestContext)
const [queriesPopperActive, setQueriesPopperActive] = useState<boolean>()
const [shortcutsPopperActive, setShortcutsPopperActive] = useState<boolean>()
const [isFeedbackSubmitting, setIsFeedbackSubmitting] =
useState<boolean>(false)
const [feedbackDialogOpen, setFeedbackDialogOpen] = useState<boolean>(false)
const escPress = useKeyPress("Escape")
const { savedQueries } = useSelector(selectors.console.getConfig)
const running = useSelector(selectors.query.getRunning)
Expand Down Expand Up @@ -281,7 +277,6 @@ const Menu = () => {
email: string
message: string
}) => {
setIsFeedbackSubmitting(true)
try {
await quest.sendFeedback({
email,
Expand All @@ -294,8 +289,6 @@ const Menu = () => {
} catch (err) {
toast.error("Something went wrong. Please try again later.")
throw err
} finally {
setIsFeedbackSubmitting(false)
}
}}
/>
Expand Down

0 comments on commit 52416f3

Please sign in to comment.