Skip to content

Commit

Permalink
Fix typo (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelboca authored Apr 16, 2024
1 parent 6ec7038 commit 9ac7273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/components/Parts/Bars/Action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface ButtonProps {
export function SaveAsButton(props: ButtonProps) {
const onClick = props.onClick || noop
let title = 'Save to another location [Ctrl+J]'
if (props.disabled) title = 'Saving to another locaion is not avialble'
if (props.disabled) title = 'Saving to another location is not available'
useKeyPress(['ctrl.j'], (event) => {
event.preventDefault()
if (!props.disabled) {
Expand All @@ -65,7 +65,7 @@ export function SaveAsButton(props: ButtonProps) {
export function PublishButton(props: ButtonProps) {
const onClick = props.onClick || noop
let title = 'Publish on the web [Ctrl+K]'
if (props.disabled) title = 'Publishing on the web is not avialble'
if (props.disabled) title = 'Publishing on the web is not available'
useKeyPress(['ctrl.k'], (event) => {
event.preventDefault()
if (!props.disabled) {
Expand Down

0 comments on commit 9ac7273

Please sign in to comment.