Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
hash_util: Fix wrong type specified for `hash` parameter.
Aman Agrawalf786c2c5d7f0
diff --git a/web/src/hash_util.ts b/web/src/hash_util.tsindex 3d57a149cbd..261982230a2 100644--- a/web/src/hash_util.ts+++ b/web/src/hash_util.ts@@ -156,7 +156,7 @@ export function search_public_streams_notice_url(terms: NarrowTerm[]): string {return search_terms_to_hash([public_operator, ...terms]);}-export function parse_narrow(hash: string): NarrowTerm[] | undefined {+export function parse_narrow(hash: string[]): NarrowTerm[] | undefined {// This will throw an exception when passed an invalid hash// at the decodeHashComponent call, handle appropriately.let i;