From 3b6f55786d4dbbe611040d207561f139d1386b6d Mon Sep 17 00:00:00 2001 From: Shea Bunge Date: Wed, 8 Nov 2023 23:36:47 +1100 Subject: [PATCH] Fix broken export function import. --- js/Edit/buttons/ExportButtons.tsx | 2 +- php/cloud/class-cloud-api.php | 1 - php/cloud/class-cloud-search-list-table.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/js/Edit/buttons/ExportButtons.tsx b/js/Edit/buttons/ExportButtons.tsx index 73c367f4..f063123f 100644 --- a/js/Edit/buttons/ExportButtons.tsx +++ b/js/Edit/buttons/ExportButtons.tsx @@ -4,7 +4,7 @@ import { __ } from '@wordpress/i18n' import { Button } from '../../common/Button' import { ExportSnippets } from '../../types/ExportSnippets' import { useSnippetsAPI } from '../../utils/api/snippets' -import { downloadSnippetExportFile } from '../../utils/general' +import { downloadSnippetExportFile } from '../../utils/files' import { useSnippetForm } from '../SnippetForm/context' export const ExportButtons: React.FC = () => { diff --git a/php/cloud/class-cloud-api.php b/php/cloud/class-cloud-api.php index 90d4d316..22181a4f 100644 --- a/php/cloud/class-cloud-api.php +++ b/php/cloud/class-cloud-api.php @@ -177,7 +177,6 @@ public function add_map_link( Cloud_Link $link ) { ); } - /** * Delete a snippet from local-to-cloud map. * diff --git a/php/cloud/class-cloud-search-list-table.php b/php/cloud/class-cloud-search-list-table.php index 531aba2e..dc99b99a 100644 --- a/php/cloud/class-cloud-search-list-table.php +++ b/php/cloud/class-cloud-search-list-table.php @@ -17,7 +17,7 @@ } /** - * This class handles the table for the manage cloud snippets search results + * Class for handling the cloud search results table. * * @property string $_pagination Pagination HTML. *