Skip to content

Commit

Permalink
feat: changes added
Browse files Browse the repository at this point in the history
  • Loading branch information
VishalPawar1010 committed Jul 25, 2024
1 parent dbe5a24 commit eafcf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function App(): React.JSX.Element {

const handlePreview = async (snippetId:string) => {
try {
const asset = await new Pieces.AssetApi().assetSnapshot({ asset: snippetId });
const asset = await new Pieces.AssetApi(config).assetSnapshot({ asset: snippetId });
console.log('asset ===', asset)
setPreviewData(asset);
setShowModal(true);
Expand Down

0 comments on commit eafcf21

Please sign in to comment.