hunk.code_window:             <div>
                 <Button
                   disabled={!isDirty || isReadonly || (conditions?.length === 0 && fields?.length === 0)}
                   onClick={onApplyConditions}
                   data-test-id="apply-conditions-btn"
                 >
                   Apply conditions
                 </Button>
               </div>
             </Tooltip>
           </Group>
  
hunk.labels: keep replace replace replace replace replace keep keep keep keep keep
hunk.after_edit:               <Button disabled={isSubmitDisabled} onClick={onApplyConditions} data-test-id="apply-conditions-btn">
  
hunk.file_path: apps/web/src/components/conditions/Conditions.tsx
hunk.type: replace
file: import { ChannelTypeEnum, ICredentials } from '@novu/shared';
  import { SparkPostEmailProvider } from '@novu/sparkpost';
  
  import { BaseHandler } from './base.handler';
  
  export class SparkPostHandler extends BaseHandler {
    constructor() {
      super('sparkpost', ChannelTypeEnum.EMAIL);
    }
    buildProvider(credentials: ICredentials, from?: string) {
      const config = {
        from: from as string,
        apiKey: credentials.apiKey as string,
        region: credentials.region as string,
        senderName: credentials.senderName as string,
      };
  
      this.provider = new SparkPostEmailProvider(config);
    }
  }
  