From ef739c95ea01e0f4ad73b0cc8a45f54086c65146 Mon Sep 17 00:00:00 2001 From: alexsc6955 Date: Wed, 24 Jan 2024 14:19:35 -0500 Subject: [PATCH] Update Home.js and Home.ts --- examples/paradox-app/build/src/app/pages/Home.js | 4 ++-- examples/paradox-app/src/app/pages/Home.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/paradox-app/build/src/app/pages/Home.js b/examples/paradox-app/build/src/app/pages/Home.js index ea7f0df..1f5860b 100644 --- a/examples/paradox-app/build/src/app/pages/Home.js +++ b/examples/paradox-app/build/src/app/pages/Home.js @@ -48,8 +48,8 @@ function Home(props = {}) { classList: "d-flex align-items-center", children: [ (0, Button_1.default)({ message: "Home button clicked" }), - // Button({ message: "Remove pubsub subscription clicked", text: "Remove pubsub subscription", onClick: handleRemovePubsubSubscription }), - // Button({ message: "Add pubsub subscription clicked again", text: "Add pubsub subscription", onClick: () => Paradox.pubsub.subscribe("button-clicked", handlePubsubSubscription) }), + (0, Button_1.default)({ message: "Remove pubsub subscription clicked", text: "Remove pubsub subscription", onClick: handleRemovePubsubSubscription }), + (0, Button_1.default)({ message: "Add pubsub subscription clicked again", text: "Add pubsub subscription", onClick: () => penrose_paradox_1.default.pubsub.subscribe("button-clicked", handlePubsubSubscription) }), ] } }, diff --git a/examples/paradox-app/src/app/pages/Home.ts b/examples/paradox-app/src/app/pages/Home.ts index ef7fb76..1ee00e1 100644 --- a/examples/paradox-app/src/app/pages/Home.ts +++ b/examples/paradox-app/src/app/pages/Home.ts @@ -51,8 +51,8 @@ export default function Home(props: RouterProps = {}) { classList: "d-flex align-items-center", children: [ Button({ message: "Home button clicked" }), - // Button({ message: "Remove pubsub subscription clicked", text: "Remove pubsub subscription", onClick: handleRemovePubsubSubscription }), - // Button({ message: "Add pubsub subscription clicked again", text: "Add pubsub subscription", onClick: () => Paradox.pubsub.subscribe("button-clicked", handlePubsubSubscription) }), + Button({ message: "Remove pubsub subscription clicked", text: "Remove pubsub subscription", onClick: handleRemovePubsubSubscription }), + Button({ message: "Add pubsub subscription clicked again", text: "Add pubsub subscription", onClick: () => Paradox.pubsub.subscribe("button-clicked", handlePubsubSubscription) }), ] } },