From 08144c3cac7de714d72986555586a706975e99b0 Mon Sep 17 00:00:00 2001
From: Joey Meere <100378695+joeymeere@users.noreply.github.com>
Date: Thu, 7 Nov 2024 10:12:33 -0500
Subject: [PATCH] add alt-svm sim warning
simulations may fail on alt-SVM environments due to some accounts not being found
---
app/(app)/layout.tsx | 2 ++
components/CreateTransactionButton.tsx | 14 +++++++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/app/(app)/layout.tsx b/app/(app)/layout.tsx
index 79d57bf..3a22355 100644
--- a/app/(app)/layout.tsx
+++ b/app/(app)/layout.tsx
@@ -121,6 +121,8 @@ const AppLayout = async ({ children }: { children: React.ReactNode }) => {
,
success: ,
diff --git a/components/CreateTransactionButton.tsx b/components/CreateTransactionButton.tsx
index b31f147..e5649b1 100644
--- a/components/CreateTransactionButton.tsx
+++ b/components/CreateTransactionButton.tsx
@@ -17,7 +17,6 @@ import {
Message,
PublicKey,
TransactionInstruction,
- TransactionMessage,
clusterApiUrl,
} from "@solana/web3.js";
import { Input } from "./ui/input";
@@ -101,17 +100,22 @@ const CreateTransaction = ({
/>