figma-plugin
figma-plugin copied to clipboard
When on local document storage and then trying to push to git, modal says `Push to local`
In packages/tokens-studio-for-figma/src/app/components/PushDialog.tsx we seem to be using the wrong storagetype - it seems to use the currently active one, not the one youre about to push to.
The dialog says Push to local even though i'm pushing to git.
likely on line 116
title={t('pushTo', { provider: transformProviderName(storageType.provider) })}
storageType is the wrong provider to use and we'd rather need to use localApiState.provider