feat: add file icons

This commit is contained in:
Henry Li
2026-02-02 10:02:31 +08:00
parent 37dcee41c0
commit 867749d7a3
5 changed files with 23 additions and 6 deletions
@@ -37,7 +37,9 @@ export function ArtifactsProvider({ children }: ArtifactsProviderProps) {
const select = (artifact: string, autoSelect = false) => {
setSelectedArtifact(artifact);
setSidebarOpen(false);
if (env.NEXT_PUBLIC_STATIC_WEBSITE_ONLY !== "true") {
setSidebarOpen(false);
}
if (!autoSelect) {
setAutoSelect(false);
}