Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ build-renderer: node_modules/.installed src/version.ts ## Build renderer process
build-static: ## Copy static assets to dist
@echo "Copying static assets..."
@mkdir -p dist
@./scripts/copy-fonts.sh
@cp static/splash.html dist/splash.html
@cp -r public/* dist/

Expand Down
Binary file removed public/fonts/geist-mono/GeistMono-Variable.woff2
Binary file not shown.
Binary file removed public/fonts/geist-sans/Geist-Variable.woff2
Binary file not shown.
18 changes: 0 additions & 18 deletions scripts/copy-fonts.sh

This file was deleted.

5 changes: 5 additions & 0 deletions src/components/ChatInput/useCreationWorkspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ export function useCreationWorkspace({

// Load branches on mount
useEffect(() => {
// This can be created with an empty project path when the user is
// creating a new workspace.
if (!projectPath.length) {
return;
}
const loadBranches = async () => {
try {
const result = await window.api.projects.listBranches(projectPath);
Expand Down
4 changes: 2 additions & 2 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
/* Geist Font Declarations */
@font-face {
font-family: "Geist";
src: url("/fonts/geist-sans/Geist-Variable.woff2") format("woff2");
src: url("../../node_modules/geist/dist/fonts/geist-sans/Geist-Variable.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Geist Mono";
src: url("/fonts/geist-mono/GeistMono-Variable.woff2") format("woff2");
src: url("../../node_modules/geist/dist/fonts/geist-mono/GeistMono-Variable.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
Expand Down