{isDesktop && (
        <>
          
            {t("menu.export", { ns: "common" })}
          
          
        >
      )}
      
 onSelectTime(value as ExportOption)}
      >
        {EXPORT_OPTIONS.map((opt) => {
          return (
            
              
              
            
          );
        })}
      
      {selectedOption == "custom" && (
        
      )}
      
 setName(e.target.value)}
      />
      {isDesktop && 
}
      
        
          {t("button.cancel", { ns: "common" })}
        
        
      
     
  );
}
type CustomTimeSelectorProps = {
  latestTime: number;
  range?: TimeRange;
  setRange: (range: TimeRange | undefined) => void;
};
function CustomTimeSelector({
  latestTime,
  range,
  setRange,
}: CustomTimeSelectorProps) {
  const { t } = useTranslation(["components/dialog"]);
  const { data: config } = useSWR