Merge pull request #203 from XRPLF/feat/tab-ordering

Sort the files after fetching
This commit is contained in:
Valtteri Karesto
2022-06-03 17:20:27 +03:00
committed by GitHub
2 changed files with 24 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ const Home: NextPage = () => {
>
<main style={{ display: "flex", flex: 1, position: "relative" }}>
<HooksEditor />
{snap.files[snap.active]?.name?.split(".")?.[1].toLowerCase() ===
{snap.files[snap.active]?.name?.split(".")?.[1]?.toLowerCase() ===
"c" && (
<Hotkeys
keyName="command+b,ctrl+b"