fix: some style

This commit is contained in:
Kilu 2024-06-26 19:08:10 +08:00
parent 4cef37d9a7
commit 492b9fddb5

View File

@ -66,6 +66,7 @@ export const PublishProvider = ({
throw new Error('View has not been published yet'); throw new Error('View has not been published yet');
} }
const { namespace, publishName } = info;
const res = await service?.getPublishViewMeta(namespace, publishName); const res = await service?.getPublishViewMeta(namespace, publishName);
if (!res) { if (!res) {
@ -77,7 +78,7 @@ export const PublishProvider = ({
return Promise.reject(e); return Promise.reject(e);
} }
}, },
[namespace, publishName, service] [service]
); );
const getViewRowsMap = useCallback( const getViewRowsMap = useCallback(