mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
Merge remote-tracking branch 'origin/accounts_fix'
This commit is contained in:
@@ -193,8 +193,6 @@ function GeneralPreferences({
|
||||
.label(formatMessage({ id: 'date_format_' })),
|
||||
});
|
||||
|
||||
const query = queryCache.refetchQueries('settings');
|
||||
|
||||
const {
|
||||
values,
|
||||
errors,
|
||||
@@ -224,7 +222,7 @@ function GeneralPreferences({
|
||||
});
|
||||
setSubmitting(false);
|
||||
resetForm();
|
||||
queryCache.refetchQueries('settings', { force: true });
|
||||
queryCache.invalidateQueries('settings');
|
||||
})
|
||||
.catch((error) => {
|
||||
setSubmitting(false);
|
||||
|
||||
Reference in New Issue
Block a user