Skip to content

Commit

Permalink
chore: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
okorie2 committed Nov 15, 2023
1 parent 867f703 commit 68c4a78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@ export default function FinishedFragment(props: Props) {
});

React.useEffect(() => {
console.log("noyay");
let snackbarTimeOut: any;
if (props.dataTotalCount > 0) {
console.log("yay");
setSnackbarState({ ...snackbarState, open: true });
setTimeout(() => {
snackbarTimeOut = setTimeout(() => {
setSnackbarState({ ...snackbarState, open: false });
}, 10000);
}
return () => {
clearTimeout(snackbarTimeOut);
};
}, [props.dataTotalCount]);

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export function ChartBuilderPreviewTheme(props: ChartBuilderPreviewThemeProps) {
>
<Skeleton animation="wave" variant="rect" width="100%" height="100%" />
</div>

<div
css={`
height: 80px;
Expand Down

0 comments on commit 68c4a78

Please sign in to comment.