Skip to content

Commit

Permalink
Fix urls in client
Browse files Browse the repository at this point in the history
  • Loading branch information
zvxvx committed May 11, 2024
1 parent c5ab890 commit 0b7045e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Menu = ({ dayNightToggle, isNight, menuTriggers, state }) => {
</div>
<div className={ROW_STYLE}>
{row2.map((item, i) => <MenuItem triggerFunc={menuTriggers.trigger.bind(menuTriggers, item)} key={i} state={state}>{item}</MenuItem>)}
<a href="https://docs.nhexirc.com" target="_blank">help</a>
<a href="https://nhexirc.com/docs" target="_blank">help</a>
<button onClick={dayNightToggle}>
<img className="min-w-5 max-w-5" src={isNight ? sun : moon} alt="day/night toggle" />
</button>
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/lib/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default async function (context: Record<any, any>, db: UserDB, options?:
if (!channelListState.search) {
return addLineToOurBuffer([
"No search string was given!",
"Help: https://docs.nhexirc.com/guides/commands/#list",
"Help: https://nhexirc.com/docs/guides/commands/#list",
]);
}

Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/lib/userInputHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function initializeUserInputHandlers(context: Record<any, any>): {
if (!searchStrCheck || searchStrCheck === "-fetch") {
return addLinesToSelectedBuffer([
"No search string was given!",
"Help: https://docs.nhexirc.com/guides/commands/#list",
"Help: https://nhexirc.com/docs/guides/commands/#list",
]);
}

Expand Down Expand Up @@ -214,4 +214,4 @@ export function initializeUserInputHandlers(context: Record<any, any>): {
handlers,
implementedHandlers: Object.keys(handlers),
};
}
}

0 comments on commit 0b7045e

Please sign in to comment.