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.
18 lines
305 B
TypeScript
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;
|