Skip to content

Commit

Permalink
Fix ContextMenu import error (#7191)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoScandiffio authored Sep 15, 2024
1 parent 07ae25e commit f300a30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/doc/contextmenu/commanddoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function CommandDoc(props) {
import { ContextMenu } from 'primereact/contextmenu';
import { useState, useRef } from 'react';
import { Toast } from 'primereact/toast';
import { Tag } from 'primerea/tag';
import { Tag } from 'primereact/tag';
export default function CommandDemo() {
const cm = useRef(null);
Expand Down Expand Up @@ -196,7 +196,7 @@ export default function CommandDemo() {
import { ContextMenu } from 'primereact/contextmenu';
import { useState, useRef } from 'react';
import { Toast } from 'primereact/toast';
import { Tag } from 'primerea/tag';
import { Tag } from 'primereact/tag';
export default function CommandDemo() {
const cm = useRef<ContextMenuRef | null>(null);
Expand Down

0 comments on commit f300a30

Please sign in to comment.