blank workspace counter starts from 1

pull/5370/head
Joseph Izang 2 months ago
parent 26a6f0e76c
commit abac4c5fb0
  1. 2
      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 createBlankWorkspace = async () => {
const username = await global.plugin.call('settings', 'get', 'settings/github-user-name') const username = await global.plugin.call('settings', 'get', 'settings/github-user-name')
const email = await global.plugin.call('settings', 'get', 'settings/github-email') const email = await global.plugin.call('settings', 'get', 'settings/github-email')

Loading…
Cancel
Save