Skip to content

Commit

Permalink
Fix prop names
Browse files Browse the repository at this point in the history
  • Loading branch information
whscullin committed Dec 30, 2024
1 parent 775da65 commit 8ad52d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/components/ClipboardCopy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { VideoModes } from 'js/videomodes';

import styles from './css/ControlButton.module.scss';

export interface CopyToClipboardProps {
export interface ClipboardCopyProps {
vm: VideoModes | undefined;
}

export function ClipboardCopy({ vm }: CopyToClipboardProps) {
export function ClipboardCopy({ vm }: ClipboardCopyProps) {
const doCopy = function () {
const asyncCopy = async function () {
if (vm) {
Expand Down
4 changes: 2 additions & 2 deletions js/components/ClipboardPaste.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import Apple2IO from 'js/apple2io';

import styles from './css/ControlButton.module.scss';

export interface PasteToClipboardProps {
export interface ClipboardPasteProps {
io: Apple2IO | undefined;
}

export function ClipboardPaste({ io }: PasteToClipboardProps) {
export function ClipboardPaste({ io }: ClipboardPasteProps) {
function doPaste() {
const asyncPaste = async function () {
if (io) {
Expand Down

0 comments on commit 8ad52d8

Please sign in to comment.