mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: some style
This commit is contained in:
parent
4cef37d9a7
commit
492b9fddb5
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user