Reverse display order of log messages
This commit is contained in:
		@@ -28,7 +28,9 @@ export function LogsRoute(): React.ReactElement {
 | 
				
			|||||||
  const [logs, setLogs] = React.useState<LogEntry[] | undefined>();
 | 
					  const [logs, setLogs] = React.useState<LogEntry[] | undefined>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const load = async () => {
 | 
					  const load = async () => {
 | 
				
			||||||
    setLogs(await LogsAPI.GetLogs(currDate));
 | 
					    const logs = await LogsAPI.GetLogs(currDate);
 | 
				
			||||||
 | 
					    logs.reverse();
 | 
				
			||||||
 | 
					    setLogs(logs);
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const reload = () => {
 | 
					  const reload = () => {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user