Skip to content

Commit

Permalink
rm incorrect doc
Browse files Browse the repository at this point in the history
  • Loading branch information
siduck committed Mar 10, 2024
1 parent e9b4186 commit 58e9e2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const defaultMeta = {
for (const path in routes) {
let route = path.replace("./routes", "").replace(/\.[^.]+$/, "");
route = route.replace("index", "");

const moduleMeta = routes[path]?.meta || defaultMeta; // Accessing the meta property of the module
metaData[route] = moduleMeta;
}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/docs/config/mappings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ map("n", "<leader>ff", ":Telescope <cr>")

-- mapping with a lua function
map("n", "<A-i>", function()
require("nvchad.term").toggle()
require("nvchad.term").toggle({ pos: "sp", id='abc' })
end, { desc = "Terminal toggle floating" })


Expand Down

0 comments on commit 58e9e2d

Please sign in to comment.