mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
🐛 (nordigen) expired bank-links (#1133)
Further Nordigen fixes for expired bank-links. With the recent changes to the router, we had broken this functionality. <img width="488" alt="Screenshot 2023-06-14 at 09 00 21" src="https://github.com/actualbudget/actual/assets/886567/8e7516e0-121a-46e0-9e52-24748b161173"> <img width="437" alt="Screenshot 2023-06-14 at 09 00 30" src="https://github.com/actualbudget/actual/assets/886567/88b36549-1073-4269-b42f-1553c164316f">
This commit is contained in:
committed by
GitHub
parent
4f5fd6c463
commit
05754d3e42
@@ -1,5 +1,6 @@
|
||||
import React, { useState } from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
import { useParams } from 'react-router-dom';
|
||||
|
||||
import * as actions from 'loot-core/src/client/actions';
|
||||
|
||||
@@ -50,17 +51,12 @@ function getErrorMessage(type, code) {
|
||||
}
|
||||
|
||||
function AccountSyncCheck({
|
||||
id,
|
||||
accounts,
|
||||
failedAccounts,
|
||||
syncAndDownload,
|
||||
markAccountSuccess,
|
||||
unlinkAccount,
|
||||
pushModal,
|
||||
closeModal,
|
||||
getAccounts,
|
||||
addNotification,
|
||||
}) {
|
||||
let { id } = useParams();
|
||||
let [open, setOpen] = useState(false);
|
||||
if (!failedAccounts) {
|
||||
return null;
|
||||
|
||||
@@ -7,7 +7,7 @@ import useSyncServerStatus from './useSyncServerStatus';
|
||||
export default function useNordigenStatus() {
|
||||
const [configured, setConfigured] = useState<boolean | null>(null);
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
const [status] = useSyncServerStatus();
|
||||
const status = useSyncServerStatus();
|
||||
|
||||
useEffect(() => {
|
||||
async function fetch() {
|
||||
|
||||
6
upcoming-release-notes/1133.md
Normal file
6
upcoming-release-notes/1133.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Nordigen: fix bank-sync expiry functionality
|
||||
Reference in New Issue
Block a user