Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 committed Aug 21, 2024
1 parent 4b9d1b3 commit 58b50d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/Widgets/VisualizationWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ const VisualizationWidget = (props) => {
}, [vizState, value]);

React.useEffect(() => {
console.log(value);
if (value.url) {
fetch(
`${getBaseUrl(
Expand All @@ -144,7 +143,6 @@ const VisualizationWidget = (props) => {
)
.then((e) => e.blob())
.then((myBlob) => {
console.log(myBlob);
blobToBase64(myBlob).then((base64String) => {
props.onChange(props.id, {
...value,
Expand Down
1 change: 0 additions & 1 deletion src/middlewares/preview_image.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const preview_image = (middlewares) => [
}
const state = store.getState();
const contentData = state.content.data;
console.log(action?.request?.data);
if (
!contentData ||
contentData['@type'] !== 'tableau_visualization' ||
Expand Down

0 comments on commit 58b50d9

Please sign in to comment.