feat: router & block preview

This commit is contained in:
DarkSky
2022-07-24 21:56:03 +08:00
parent 4f1c47a3bc
commit a4132f5f8a
8 changed files with 153 additions and 100 deletions

View File

@@ -78,6 +78,7 @@ const _useUserAndSpacesForFreeLogin = () => {
loading,
};
};
export const useUserAndSpaces = process.env['NX_LOCAL']
? _useUserAndSpacesForFreeLogin
: _useUserAndSpace;