MCPcopy Create free account
hub / github.com/churichard/notabase / removeNonexistentNotes

Function removeNonexistentNotes

components/AppLayout.tsx:338–347  ·  view source on GitHub ↗
(tree: NoteTreeItem[], notes: Notes)

Source from the content-addressed store, hash-verified

336 // Show toast if the user successfully subscribed to Notabase
337 const plan = PRICING_PLANS[planId as PlanId];
338 if (plan) {
339 toast.success(`Congrats! You now have Notabase ${plan.name} 🎉`);
340 } else {
341 toast.success('Congrats! Your payment was processed successfully 🎉');
342 }
343 router.push(
344 { pathname: router.pathname, query: otherQueryParams },
345 undefined,
346 { shallow: true }
347 );
348 }
349 }, [router]);
350

Callers 1

AppLayoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected