Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
import { useMemo } from "react";
import { isMacPlatform } from "@/util/platform";
export function useUndoRedoShortcutLabels() {
return useMemo(() => {
const mac = isMacPlatform();
return {
undoShortcutLabel: mac ? "⌘Z" : "Ctrl+Z",
redoShortcutLabel: mac ? "⌘⇧Z" : "Ctrl+Shift+Z",
};
}, []);
}