Skip to content
Snippets Groups Projects
Unverified Commit 05754d3e authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins Committed by GitHub
Browse files

:bug: (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">
parent 4f5fd6c4
No related branches found
No related tags found
No related merge requests found
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() {
......
---
category: Bugfix
authors: [MatissJanis]
---
Nordigen: fix bank-sync expiry functionality
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment