Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(frontend): Fix Input value mixup on Library page & broken marketplace on no onboarding data

Zamil Majdy7cf0c6fe46bc
diff --git a/autogpt_platform/frontend/src/components/agptui/Wallet.tsx b/autogpt_platform/frontend/src/components/agptui/Wallet.tsx
index 41372ba6dd..ae1a463ee9 100644
--- a/autogpt_platform/frontend/src/components/agptui/Wallet.tsx
+++ b/autogpt_platform/frontend/src/components/agptui/Wallet.tsx
@@ -39,20 +39,18 @@ export default function Wallet() {
useEffect(() => {
// Check if there are any completed tasks (state?.completedTasks) that
// are not in the state?.notified array and play confetti if so
- const pending =
- state?.completedSteps ||
- []
- .filter((step) => !state?.notified?.includes(step))
- // Ignore steps that are not relevant for notifications
- .filter(
- (step) =>
- step !== "WELCOME" &&
- step !== "USAGE_REASON" &&
- step !== "INTEGRATIONS" &&
- step !== "AGENT_CHOICE" &&
- step !== "AGENT_NEW_RUN" &&
- step !== "AGENT_INPUT",
- );
+ const pending = (state?.completedSteps || [])
+ .filter((step) => !state?.notified?.includes(step))
+ // Ignore steps that are not relevant for notifications
+ .filter(
+ (step) =>
+ step !== "WELCOME" &&
+ step !== "USAGE_REASON" &&
+ step !== "INTEGRATIONS" &&
+ step !== "AGENT_CHOICE" &&
+ step !== "AGENT_NEW_RUN" &&
+ step !== "AGENT_INPUT",
+ );
if ((pending?.length || 0) > 0 && walletRef.current) {
party.confetti(walletRef.current, {
count: 30,