File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { Blurhash } from "react-blurhash"
1010
1111const mode = framer . mode
1212
13- const minWindowWidth = mode === "default " ? 350 : 600
13+ const minWindowWidth = mode === "canvas " ? 350 : 600
1414const minColumnWidth = 100
1515const columnGap = 8
1616const sidePadding = 16 * 2
@@ -33,7 +33,7 @@ export function App() {
3333 const mode = framer . mode
3434 const randomPhoto = await getRandomPhoto ( query )
3535
36- if ( mode === "default " ) {
36+ if ( mode === "canvas " ) {
3737 await framer . addImage ( {
3838 image : randomPhoto . urls . full ,
3939 name : randomPhoto . alt_description ?? randomPhoto . description ?? "Unsplash Image" ,
@@ -102,7 +102,7 @@ const PhotosList = memo(function PhotosList({ query }: { query: string }) {
102102 mutationFn : async ( photo : UnsplashPhoto ) => {
103103 const mode = framer . mode
104104
105- if ( mode === "default " ) {
105+ if ( mode === "canvas " ) {
106106 await framer . addImage ( {
107107 image : photo . urls . full ,
108108 name : photo . alt_description ?? photo . description ?? "Unsplash Image" ,
You can’t perform that action at this time.
0 commit comments