From 0bf60429ec242b27ca4a6957ba0b939f2b6e7307 Mon Sep 17 00:00:00 2001 From: tyler Date: Sat, 1 Jun 2024 13:31:06 -0400 Subject: [PATCH] Fixed bug deleting pages --- v1/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/app.go b/v1/app.go index 9da88f6..e427f16 100644 --- a/v1/app.go +++ b/v1/app.go @@ -899,7 +899,7 @@ func (a *App) deletePage(pi PageInfo) error { defer a.pagesMu.Unlock() page, exists := a.pages[*name] if !exists { - return fmt.Errorf("page does not exist") + return nil } page.activeMu.Lock()