Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2024-12-05 12:43:36 +00:00
commit d98d95845b

View File

@ -41,7 +41,6 @@ const AppSpin = () => {
};
const useErrorProps = (app: Application, error: any) => {
const api = useAPIClient();
if (!error) {
return {};
}
@ -57,7 +56,7 @@ const useErrorProps = (app: Application, error: any) => {
type="primary"
key="try"
onClick={() => {
api.auth.setToken(null);
app.apiClient.auth.setToken(null);
window.location.reload();
}}
>