     private var tableView: UITableView!
 
     private var filteredSiteRecords = [WKWebsiteDataRecord]()
+    private var currentSearchText = ""
     
     init(viewModel: WebsiteDataManagementViewModel) {
         self.viewModel = viewModel

    }
    
    func reloadData() {
        guard let tableView = tableView else { return }
        tableView.reloadData()
    }
    
    func numberOfSections(in tableView: UITableView) -> Int {


extension WebsiteDataSearchResultsViewController: UISearchResultsUpdating {
    func updateSearchResults(for searchController: UISearchController) {
        currentSearchText = searchController.searchBar.text ?? ""
        filterContentForSearchText(currentSearchText)
    }
}

