Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Oct 5, 2022
1 parent 57803a1 commit f5e20d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/SavedQueriesToolbar/SavedQueriesActionButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ export function SavedQueriesActionButtons<TQuery extends SavedQuery>({
const canResetChanges =
currentQuery !== null && (currentQuery.query !== querySourceDraft || currentQuery.name !== queryNameDraft)

console.log('>> canResetChanges', { currentQuery, queryNameDraft, querySourceDraft })

const handleSaveAsNewClick = async () => {
const name = queryNameDraft || currentQuery?.name || ''

Expand Down
2 changes: 0 additions & 2 deletions src/SavedQueriesToolbar/SavedQueriesToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,9 @@ export function SavedQueriesToolbar<TQuery extends SavedQuery>(props: SavedQueri
props.onToast(
toToastMessage(message, {
confirmDelete: () => {
console.log('CONFIRM DELETE')
if (isQueryDeletionPending.current) void props.onDeleteQuery()
},
undoDelete: () => {
console.log('UNDO DELETE')
isQueryDeletionPending.current = false
},
}),
Expand Down

0 comments on commit f5e20d2

Please sign in to comment.