diff --git a/docs/docs/guides/FRAME_PROCESSORS.mdx b/docs/docs/guides/FRAME_PROCESSORS.mdx index 3a5671a..457cf5e 100644 --- a/docs/docs/guides/FRAME_PROCESSORS.mdx +++ b/docs/docs/guides/FRAME_PROCESSORS.mdx @@ -25,11 +25,7 @@ function App() { const frameProcessor = useFrameProcessor((frame) => { 'worklet' const isHotdog = detectIsHotdog(frame) - if (isHotdog) { - console.log("Hotdog!") - } else { - console.log("Not Hotdog!") - } + console.log(isHotdog ? "Hotdog!" : "Not Hotdog.") }, []) return (