Update AGENTS.md. Start fixing old weird errors
This commit is contained in:
@@ -378,7 +378,7 @@ export const Cropper = ({
|
||||
</ImageCrop>
|
||||
);
|
||||
|
||||
export function Demo() {
|
||||
export const Demo = () => {
|
||||
const [file, setFile] = useState<File | null>(null);
|
||||
const [croppedImage, setCroppedImage] = useState<string | null>(null);
|
||||
|
||||
@@ -432,4 +432,4 @@ export function Demo() {
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user