import { createElementBlock as p, openBlock as m, withModifiers as a, unref as e, createElementVNode as s, toDisplayString as l } from "vue";
import { usePostTimestamp as c } from "./composables-BAZQlC3e.js";
import { _export_sfc as d } from "./_plugin-vue_export-helper-DueaC3du.js";
const u = { class: "num p-0 ml-1 text-sm" }, f = {
  __name: "PostActionUpdate",
  props: {
    tag: { type: String, default: "posts" },
    hash: { type: String, default: "" }
  },
  setup(o) {
    const n = o, { timestamp: _, msTime: r, refresh: i } = c(n);
    return (g, t) => (m(), p("button", {
      class: "m-1 button items-center",
      onClick: t[0] || (t[0] = a((v) => e(i)(), ["stop", "prevent"]))
    }, [
      t[1] || (t[1] = s("div", { class: "i-mdi-watering-can-outline" }, null, -1)),
      s("div", u, l(e(r)), 1)
    ]));
  }
}, y = /* @__PURE__ */ d(f, [["__scopeId", "data-v-97fb1149"]]);
export {
  y as default
};
//# sourceMappingURL=PostActionUpdate-BtUFc5Zt.js.map
