Skip to content

Commit

Permalink
revert last change
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed May 22, 2024
1 parent d7b3db3 commit 961f14a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ export default function PaymentPageConfigComponent({}: {}) {
}
};

const deleteCustomCss = () => {
if (paymentPageConfig.current){
paymentPageConfig.current.customCss = "";
paymentPageConfig.current.save();
}
}

const handleLogoUpload = (e: ChangeEvent<HTMLInputElement>) => {
if (e.target.files) {
const file = e.target.files[0];
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Reel/ReelWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export default function ReelWidget({}) {
subscribe(widgetId, conf.topic.reel, (message) => {
log.info({ message: message }, "Received reel command");
let json = JSON.parse(message.body);
if (json.widgetId === widgetId ) {
// if (json.widgetId === widgetId ) {
handleSelection(json.selection);
}
// }
message.ack();
});
setupCommandListener(widgetId, () => navigate(0));
Expand Down

0 comments on commit 961f14a

Please sign in to comment.