Skip to content

Commit

Permalink
fix: remove console.info call from mutateHandler in AppSidebar compon…
Browse files Browse the repository at this point in the history
…ent (#3185)
  • Loading branch information
francisko-rezende committed Apr 15, 2024
1 parent 12cc072 commit 96b63d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/shared/AppSidebar/AppSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ export const AppSideBar = ({ workspaceId, hideSidebar, sidebarCollapsed }: AppSi
}

useEffectOnce(() => {
const mutateHandler = (event: Event) => {
// eslint-disable-next-line no-console
event instanceof CustomEvent && console.info(WORKSPACE_UPDATED_EVENT, event.detail);
const mutateHandler = () => {
mutate();
};

Expand Down

0 comments on commit 96b63d7

Please sign in to comment.