Просмотр исходного кода

SampleNode: Remove `PURE` annotation. (#31293)

Michael Herzog 6 месяцев назад
Родитель
Сommit
f7157ee970
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/nodes/utils/SampleNode.js

+ 1 - 1
src/nodes/utils/SampleNode.js

@@ -78,4 +78,4 @@ export default SampleNode;
  * @param {Function} callback - The function to be called when sampling. Should accept a UV node and return a value.
  * @returns {SampleNode} The created SampleNode instance wrapped as a node object.
  */
-export const sample = /*@__PURE__*/ ( callback ) => nodeObject( new SampleNode( callback ) );
+export const sample = ( callback ) => nodeObject( new SampleNode( callback ) );

粤ICP备19079148号