Skip to content

Commit

Permalink
feat(Terminav): Show available links by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dabrady committed Apr 20, 2023
1 parent 6d36e94 commit 2ddc681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Terminav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const COMMANDS = {
/** A navigation component with the look and feel of a terminal. */
export default function Terminav({ scrollVisibilityThreshold = 85 }) {
var inputRef = useRef();
var [output, setOutput] = useState(null);
var [output, setOutput] = useState(COMMANDS.ls());
var [opacity, setOpacity] = useState(0);

/**
Expand Down

0 comments on commit 2ddc681

Please sign in to comment.