logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

height_cache.js (314B)


  1. export const HEIGHT_CACHE_SET = 'HEIGHT_CACHE_SET';
  2. export const HEIGHT_CACHE_CLEAR = 'HEIGHT_CACHE_CLEAR';
  3. export function setHeight (key, id, height) {
  4. return {
  5. type: HEIGHT_CACHE_SET,
  6. key,
  7. id,
  8. height,
  9. };
  10. };
  11. export function clearHeight () {
  12. return {
  13. type: HEIGHT_CACHE_CLEAR,
  14. };
  15. };