mirror of
https://github.com/YuzuZensai/Pien-Studio.git
synced 2026-09-02 14:18:35 +00:00
12 lines
247 B
TypeScript
12 lines
247 B
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
import { startAssetCleanupJob } from "@pien-studio/storage";
|
|
|
|
export function useAssetCleanupJob() {
|
|
React.useEffect(() => {
|
|
const stop = startAssetCleanupJob();
|
|
return () => stop();
|
|
}, []);
|
|
}
|