Skip to content

Commit

Permalink
fix: change uuid library, crypto → uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
cjeongmin committed May 17, 2024
1 parent 36af98e commit 21555d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/pages/landing-page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use client';

import styled from 'styled-components';
import { v4 as uuidv4 } from 'uuid';

const styles = {
container: styled.div`
Expand Down Expand Up @@ -201,7 +202,7 @@ export function LandingPage() {
<img alt={url} src={url} />
</styles.box>
) : (
<styles.box key={crypto.randomUUID()} />
<styles.box key={uuidv4()} />
),
)}
</styles.boxColumn>
Expand Down

0 comments on commit 21555d1

Please sign in to comment.