mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
refactor: avoid runtime config object (#8202)
This commit is contained in:
@@ -15,7 +15,7 @@ export const AffineOtherPageLayout = ({
|
||||
const t = useI18n();
|
||||
|
||||
const openDownloadLink = useCallback(() => {
|
||||
open(runtimeConfig.downloadUrl, '_blank');
|
||||
open(BUILD_CONFIG.downloadUrl, '_blank');
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user