Skip to content

Commit f7e0594

Browse files
committed
chore: apply review (typo)
Signed-off-by: samuel.park <[email protected]>
1 parent fe5d337 commit f7e0594

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/src/services/dashboard-shared/core/actions/use-dashboard-folder-share-action.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const useDashboardFolderShareAction = (options: UseDashboardFolderShareAc
2424
const { publicDashboardAPI } = usePublicDashboardApi();
2525
const queryClient = useQueryClient();
2626
const { withSuffix: publicFolderGetQueryKey } = useServiceQueryKey('dashboard', 'public-folder', 'get');
27-
const { withSuffix: publicDashbordGetQueryKey } = useServiceQueryKey('dashboard', 'public-dashboard', 'get');
27+
const { withSuffix: publicDashboardGetQueryKey } = useServiceQueryKey('dashboard', 'public-dashboard', 'get');
2828
const {
2929
folderId, isShared, onSuccess, onError, onSettled,
3030
} = options;
@@ -61,7 +61,7 @@ export const useDashboardFolderShareAction = (options: UseDashboardFolderShareAc
6161
const _dashboardIds = _dashboardList.results?.map((dashboard) => dashboard.dashboard_id);
6262
if (_dashboardIds) {
6363
await Promise.all(
64-
_dashboardIds.map((dashboardId) => queryClient.invalidateQueries({ queryKey: publicDashbordGetQueryKey(dashboardId) })),
64+
_dashboardIds.map((dashboardId) => queryClient.invalidateQueries({ queryKey: publicDashboardGetQueryKey(dashboardId) })),
6565
);
6666
}
6767
}

0 commit comments

Comments
 (0)