Fix the last of the eslint errors (for real this time)
diff --git a/src/commands/mod/info.ts b/src/commands/mod/info.ts
index f0257f8..da2d540 100644
--- a/src/commands/mod/info.ts
+++ b/src/commands/mod/info.ts
@@ -103,7 +103,9 @@
     let refresh = true;
     let filteredTypes: string[] = [];
     let openFilterPane = false;
-    while (true) {
+    let timedOut = false;
+    let showHistorySelected = false;
+    while (!timedOut && !showHistorySelected) {
         if (refresh) {
             history = await client.database.history.read(member.guild.id, member.id, currentYear);
             history = history
@@ -249,7 +251,8 @@
                         .setFooter({ text: "Message timed out" })
                 ]
             });
-            return 0;
+            timedOut = true;
+            continue;
         }
         i.deferUpdate();
         if (i.customId === "filter") {
@@ -289,13 +292,14 @@
             refresh = true;
         }
         if (i.customId === "modNotes") {
-            return 1;
+            showHistorySelected = true;
         }
         if (i.customId === "openFilter") {
             openFilterPane = !openFilterPane;
             refresh = true;
         }
     }
+    return timedOut ? 0 : 1;
 }
 
 const callback = async (interaction: CommandInteraction): Promise<unknown> => {
@@ -308,7 +312,8 @@
     });
     let note;
     let firstLoad = true;
-    while (true) {
+    let timedOut = false;
+    while (!timedOut) {
         note = await client.database.notes.read(member.guild.id, member.id);
         if (firstLoad && !note) {
             await showHistory(member, interaction);
@@ -341,7 +346,8 @@
         try {
             i = await m.awaitMessageComponent({ time: 300000 });
         } catch (e) {
-            return;
+            timedOut = true;
+            continue;
         }
         if (i.customId === "modify") {
             await i.showModal(
@@ -387,7 +393,8 @@
                     (m) => m.customId === "modify"
                 );
             } catch (e) {
-                break;
+                timedOut = true;
+                continue;
             }
             if (out === null) {
                 continue;