hunk.code_window:     const recentQueries: {
         [applicationId: string]: {
           [task: string]: string[];
         };
       } | null = await store.getItem(STORAGE_KEYS.AI_RECENT_QUERIES);
       return recentQueries?.[applicationId]?.[type] ?? defaultRecentQueries;
     } catch (error) {
       log.error("An error occurred while fetching AI_RECENT_QUERIES");
       log.error(error);
       return defaultRecentQueries;
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:     return (
         recentQueries?.[applicationId]?.[type]?.slice(0, 3) ??
         defaultRecentQueries
       );
  
hunk.file_path: app/client/src/utils/storage.ts
hunk.type: replace
file: import React from "react";
  import "@testing-library/jest-dom";
  import { ThemeProvider } from "styled-components";
  import { render } from "@testing-library/react";
  import PropertyPaneTitle from "./PropertyPaneTitle";
  import userEvent from "@testing-library/user-event";
  import { lightTheme } from "selectors/themeSelectors";
  import { Provider } from "react-redux";
  import store from "store";
  
  describe("<PropertyPaneTitle />", () => {
    it("should focus when f2 is pressed", async () => {
      const getTestComponent = () => (
        <Provider store={store}>
          <ThemeProvider theme={lightTheme}>
            <PropertyPaneTitle actions={[]} isPanelTitle title="" widgetId="1" />
          </ThemeProvider>
        </Provider>
      );
      const component = getTestComponent();
      const renderResult = render(component);
      await userEvent.keyboard("{F2}");
      expect(renderResult.container.querySelector("input")).toBeVisible();
    });
  });
  