about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Abramov <dan.abramov@gmail.com>2025-01-07 21:07:06 +0000
committerDan Abramov <dan.abramov@gmail.com>2025-01-07 21:07:06 +0000
commit89353c6f22ca14d6794b46ef24b241d101538224 (patch)
tree6f9485bc741e03b25cc3a93bb77d473ca79eac98
parentcdd7d040b9bdfbe9643ef60a94382827fd352c90 (diff)
downloadvoidsky-89353c6f22ca14d6794b46ef24b241d101538224.tar.zst
Remove unused default argument
-rw-r--r--src/lib/media/manip.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/media/manip.ts b/src/lib/media/manip.ts
index fb1e1cf8e..7f052068d 100644
--- a/src/lib/media/manip.ts
+++ b/src/lib/media/manip.ts
@@ -215,7 +215,7 @@ async function doResize(localUri: string, opts: DoResizeOpts): Promise<Image> {
   )
 }
 
-async function moveToPermanentPath(path: string, ext = '.jpg'): Promise<string> {
+async function moveToPermanentPath(path: string, ext: string): Promise<string> {
   /*
   Since this package stores images in a temp directory, we need to move the file to a permanent location.
   Relevant: IOS bug when trying to open a second time: