action refresh fixed

This commit is contained in:
victorAnumudu
2024-12-21 23:28:06 +01:00
parent 4e86fba581
commit 3680abbef2
5 changed files with 16 additions and 8 deletions
+1
View File
@@ -1,5 +1,6 @@
const queryKeys = {
dashboard: ['dashboard'],
topBar: ['top-bar'],
recentAction: ['recent-action'],
product: ['product-data'],
product_url: ['product_url']
+5
View File
@@ -72,6 +72,11 @@ export const accountDashboard = () => {
return getAuxEnd(`/panel/account/dash`)
}
// FUNCTION TO GET DASHBOARD TOP BAR SECTION
export const topBar = () => {
return getAuxEnd(`/panel/account/bar`)
}
// FUNCTION TO GET DASHBOARD RECENT ACTIONS SECTION
export const recentActions = () => {
return getAuxEnd(`/panel/account/actions`)