Files
ember-market-frontend/components/KeepOnline.ts
g 0176f89cb7 Add CSV export for orders and update UI symbols
Introduces an exportOrdersToCSV function in lib/api-client.ts to allow exporting orders by status as a CSV file. Updates various UI components to use the '•' (bullet) symbol instead of '·' (middle dot) and replaces some emoji/unicode characters for improved consistency and compatibility. Also normalizes the 'use client' directive to include a BOM in many files.
2025-12-15 17:57:18 +00:00

18 lines
305 B
TypeScript

"use client";
import { useKeepOnline } from "@/hooks/useKeepOnline";
const KeepOnline = () => {
useKeepOnline({
interval: 1000 * 60 * 1,
enabled: true,
onError: (error) => {
console.error("Keep online error:", error);
}
});
return null;
}
export default KeepOnline;