mirror of
https://github.com/BramSuurdje/proxmox-helper-scripts.git
synced 2026-10-02 20:22:00 -04:00
chore(ScriptBrowser): disable prefetching for script links to improve loading behavior
This commit is contained in:
@@ -125,6 +125,7 @@ const ScriptBrowser = ({
|
||||
pathname: "/scripts",
|
||||
query: { id: script.title },
|
||||
}}
|
||||
prefetch={false}
|
||||
className={`flex cursor-pointer items-center justify-between gap-1 px-1 py-1 text-muted-foreground hover:rounded-lg hover:bg-accent/60 hover:dark:bg-accent/20 ${
|
||||
selectedScript === script.title
|
||||
? "rounded-lg bg-accent font-semibold dark:bg-accent/30 dark:text-white"
|
||||
|
||||
Reference in New Issue
Block a user