diff --git a/src/features/command/ViewArchiveCommand.tsx b/src/features/command/ViewArchiveCommand.tsx index acdf8f1..04102cc 100644 --- a/src/features/command/ViewArchiveCommand.tsx +++ b/src/features/command/ViewArchiveCommand.tsx @@ -13,9 +13,10 @@ const COMMAND_KEYWORDS = [ "time", "travel", "archive", - "back", "previous", "go", + "back", + "go back", "history", ] @@ -23,6 +24,13 @@ export default function ViewArchiveCommand() { const currentUrl = window.location.toString() const currentUrlSegments = extractUrlSegments(currentUrl) + if ( + currentUrlSegments[0] === "_this_session" || + currentUrlSegments[0] === "icons" + ) { + return null + } + if ( currentUrlSegments[0] && getSegmentType(currentUrlSegments[0]) === "archive"