hunk.code_window:       uses: addnab/docker-run-action@v3
         with:
           image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
           options: --user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build
           run: >-
             yarn nx build @affine/native --target ${{ inputs.target }}
hunk.labels: keep keep keep replace keep keep
hunk.after_edit:         options: --user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build -e NX_CLOUD_ACCESS_TOKEN=${{ inputs.nx_token }}
  
hunk.file_path: .github/actions/build-rust/action.yml
hunk.type: replace
file: import { useAFFiNEI18N } from '@affine/i18n/hooks';
  import clsx from 'clsx';
  
  import { linkStyle, linkTextStyle, waterMarkStyle } from './index.css';
  import { AffineLogoIcon } from './logo';
  
  export const AffineWatermark = () => {
    const t = useAFFiNEI18N();
    return (
      <div className={clsx()}>
        <div data-testid="affine-watermark" className={clsx(waterMarkStyle)}>
          <a className={linkStyle} href="https://affine.pro">
            <div className={linkTextStyle}>{t['Created with']()}</div>
            <AffineLogoIcon />
          </a>
        </div>
      </div>
    );
  };
  