Skip to content

Commit

Permalink
Fix reverse=true
Browse files Browse the repository at this point in the history
  • Loading branch information
ananya-agarwal committed Jan 31, 2025
1 parent 93a5fc0 commit 956e75a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ const ServerLogs: React.FC = (): JSX.Element => {
const [filter, setFilter] = useState<string>('');
const [wrapLogs, setWrapLogs] = useState(true);
const { t } = i18nReact.useTranslation();

const { data: logsData, loading, error } = useLoadData<ServerLogsData>(SERVER_LOGS_API_URL);
const { data: logsData, loading, error } = useLoadData<ServerLogsData>(SERVER_LOGS_API_URL, {

Check failure on line 35 in desktop/core/src/desktop/js/apps/admin/ServerLogs/ServerLogsTab.tsx

View workflow job for this annotation

GitHub Actions / build

Replace `·data:·logsData,·loading,·error` with `⏎····data:·logsData,⏎····loading,⏎····error⏎·`
params: {
reverse: true
}
});

if (error) {
return (
Expand Down

0 comments on commit 956e75a

Please sign in to comment.