Skip to content

Commit

Permalink
Update packages/ui/src/components/SourceCode/SourceCode.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Ricardo M. <lordrip@gmail.com>
  • Loading branch information
lhein and lordrip authored Nov 23, 2023
1 parent dfd29a7 commit 06244c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/components/SourceCode/SourceCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export const SourceCode: FunctionComponent<SourceCodeProps> = (props) => {

const customControls = useMemo(() => {
return [
<UndoButton key="undo-button" isVisible onClick={() => undoAction} />,
<RedoButton key="redo-button" isVisible onClick={() => redoAction} />,
<UndoButton key="undo-button" isVisible onClick={undoAction} />,
<RedoButton key="redo-button" isVisible onClick={redoAction} />,
<SyncButton key="sync-button" isDirty={false} isVisible onClick={() => undefined} />,
];
}, []);
Expand Down

0 comments on commit 06244c9

Please sign in to comment.