mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-05-16 22:35:42 +02:00
async updates for settings
This commit is contained in:
@@ -163,10 +163,10 @@ export const StepsToGetStarted: React.FunctionComponent<IStepsToGetStartedProps>
|
||||
];
|
||||
|
||||
React.useEffect(() => {
|
||||
if (settings.crntFramework) {
|
||||
setFramework(settings.crntFramework);
|
||||
if (settings.crntFramework || settings.framework?.name) {
|
||||
setFramework(settings.crntFramework || settings.framework?.name || null);
|
||||
}
|
||||
}, [settings.crntFramework]);
|
||||
}, [settings.crntFramework, settings.framework]);
|
||||
|
||||
return (
|
||||
<nav aria-label="Progress">
|
||||
|
||||
Reference in New Issue
Block a user