File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,15 @@ const findHeight = () => {
5151 let tallestLength = 0 ;
5252 let tallestIndex = 0 ;
5353
54- for (const { block_quote_id : { quote } } of unref (block )?.items ?? []) {
54+ /* eslint-disable-next-line unicorn/no-array-for-each */
55+ unref (block )?.items ?.forEach ((item , index ) => {
56+ const { block_quote_id : { quote } } = item ;
57+
5558 if (quote .length > tallestLength ) {
5659 tallestLength = quote .length ;
5760 tallestIndex = index ;
5861 }
59- }
62+ });
6063
6164 activeQuote .value = tallestIndex ;
6265
Original file line number Diff line number Diff line change 11export interface BlockDirectory {
22 id : string ;
3- collection : 'agency_partners' | 'projects' | 'features' ;
3+ collection : 'agency_partners' | 'projects' | 'features' | 'templates' | 'extensions' ;
44 filter : Record < string , unknown > | null ;
55 style :
66 | 'none'
You can’t perform that action at this time.
0 commit comments