Skip to content

Commit

Permalink
ui: add support for ss
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Jul 19, 2024
1 parent 55e6a4b commit e66d8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/menu/menu-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ export function MenuButton(props: MenuButtonProps) {
);
}

const platform = getPlatform();
function translateModifier(modifier: string) {
const platform = getPlatform();
if (platform === "Android" || platform === "iOS") return "";
const isMacOS = platform === "macOS";
const parts = modifier.split("-");
Expand Down

0 comments on commit e66d8ee

Please sign in to comment.