diff --git a/.github/workflows/release-mainnet.yml b/.github/workflows/release-mainnet.yml
index 8260e57..117fbdd 100644
--- a/.github/workflows/release-mainnet.yml
+++ b/.github/workflows/release-mainnet.yml
@@ -11,6 +11,6 @@ jobs:
app-name: "devs.near"
deploy-account-address: devs.near
signer-account-address: devs.near
- signer-public-key: ed25519:GQ5BKDUmHhVK8uyviD3pnzmHAAXSKhhzVsjb2effMMwo
+ signer-public-key: ed25519:J8XTprxQ1nAmCPwtYWHLBCUWq4mwn8zkE2aHwJTtFo1Y
secrets:
- SIGNER_PRIVATE_KEY: ${{ secrets.SIGNER_PRIVATE_KEY }}
+ SIGNER_PRIVATE_KEY: ${{ secrets.DEVS_SIGNER_PRIVATE_KEY }}
diff --git a/widget/Layout.jsx b/widget/Layout.jsx
index f859f62..ed08412 100644
--- a/widget/Layout.jsx
+++ b/widget/Layout.jsx
@@ -29,62 +29,64 @@ const SplitLayout = styled.div`
}
`;
-return ({ variant, blocks, children }) => {
- const { Header, Footer, Sidebar, Left, Right } = blocks;
+return {
+ Layout: ({ variant, blocks, children }) => {
+ const { Header, Footer, Sidebar, Left, Right } = blocks;
- Header = Header ? Header : () => <>>;
- Footer = Footer ? Footer : () => <>>;
- Sidebar = Sidebar ? Sidebar : () => <>>;
- Left = Left ? Left : ({ children }) => <>{children}>;
- Right = Right ? Right : ({ children }) => <>{children}>;
+ Header = Header ? Header : () => <>>;
+ Footer = Footer ? Footer : () => <>>;
+ Sidebar = Sidebar ? Sidebar : () => <>>;
+ Left = Left ? Left : ({ children }) => <>{children}>;
+ Right = Right ? Right : ({ children }) => <>{children}>;
- if (!variant) {
- variant = "standard";
- }
+ if (!variant) {
+ variant = "standard";
+ }
- const availableVariants = ["standard", "sidebar", "split"];
+ const availableVariants = ["standard", "sidebar", "split"];
- if (!availableVariants.includes(variant)) {
- return 'Invalid Variant: "' + variant + '"';
- }
+ if (!availableVariants.includes(variant)) {
+ return 'Invalid Variant: "' + variant + '"';
+ }
- switch (variant) {
- case "standard":
- return (
-