diff options
| -rw-r--r-- | extension/react-app/src/components/Onboarding.tsx | 47 | 
1 files changed, 24 insertions, 23 deletions
diff --git a/extension/react-app/src/components/Onboarding.tsx b/extension/react-app/src/components/Onboarding.tsx index dd93df26..588f7298 100644 --- a/extension/react-app/src/components/Onboarding.tsx +++ b/extension/react-app/src/components/Onboarding.tsx @@ -71,29 +71,30 @@ const Onboarding = () => {                <Loader />              </div>            )} -          {counter % 2 === 0 ? ( -            <img -              src={`https://github.com/continuedev/continue/blob/main/media/${gifs[counter]}.gif?raw=true`} -              width="100%" -              key={"even-gif"} -              alt={topMessages[counter]} -              onLoad={() => { -                setLoading(false); -              }} -              style={{ zIndex: 1 }} -            /> -          ) : ( -            <img -              src={`https://github.com/continuedev/continue/blob/main/media/${gifs[counter]}.gif?raw=true`} -              width="100%" -              key={"odd-gif"} -              alt={topMessages[counter]} -              onLoad={() => { -                setLoading(false); -              }} -              style={{ zIndex: 1 }} -            /> -          )} +          {counter < 4 && +            (counter % 2 === 0 ? ( +              <img +                src={`https://github.com/continuedev/continue/blob/main/media/${gifs[counter]}.gif?raw=true`} +                width="100%" +                key={"even-gif"} +                alt={topMessages[counter]} +                onLoad={() => { +                  setLoading(false); +                }} +                style={{ zIndex: 1 }} +              /> +            ) : ( +              <img +                src={`https://github.com/continuedev/continue/blob/main/media/${gifs[counter]}.gif?raw=true`} +                width="100%" +                key={"odd-gif"} +                alt={topMessages[counter]} +                onLoad={() => { +                  setLoading(false); +                }} +                style={{ zIndex: 1 }} +              /> +            ))}          </div>          <p            style={{  | 
