From abac4c5fb0e9b69b5ff2c164ff7d7e1bb264466e Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 11 Sep 2024 16:28:01 +0100 Subject: [PATCH] blank workspace counter starts from 1 --- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 8db36e36a0..2e035ac018 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -336,7 +336,7 @@ export function Workspace() { ) } - const [counter, setCounter] = useState(0) + const [counter, setCounter] = useState(1) const createBlankWorkspace = async () => { const username = await global.plugin.call('settings', 'get', 'settings/github-user-name') const email = await global.plugin.call('settings', 'get', 'settings/github-email')