mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-07-06 18:01:24 +02:00
POC of rendering custom HTML
This commit is contained in:
@@ -22,7 +22,7 @@ export const SyncButton: React.FunctionComponent<ISyncButtonProps> = (
|
||||
};
|
||||
|
||||
const messageListener = (message: MessageEvent<EventData<any>>) => {
|
||||
const { command, data } = message.data;
|
||||
const { command, payload } = message.data;
|
||||
|
||||
if (command === GeneralCommands.toWebview.gitSyncingStart) {
|
||||
setIsSyncing(true);
|
||||
|
||||
Reference in New Issue
Block a user