add OpenInEnte component

This commit is contained in:
Abhinav 2022-01-17 09:55:25 +05:30
parent 493b85b322
commit 8d81fc0342
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,4 @@
import React from 'react';
export function OpenInEnte() {
return <></>;
}

View file

@ -3,6 +3,7 @@ import PhotoFrame from 'components/PhotoFrame';
import React, { createContext, useEffect, useState } from 'react';
import { getSharedCollectionFiles } from 'services/sharedCollectionService';
import { SharedAlbumContextType } from 'types/sharedAlbum';
import { OpenInEnte } from 'components/sharedAlbum/OpenInEnte';
export const defaultSharedAlbumContext: SharedAlbumContextType = {
token: null,
@ -47,6 +48,7 @@ export default function sharedAlbum() {
token,
accessedThroughSharedURL: true,
}}>
<OpenInEnte />
<PhotoFrame
files={files}
setFiles={setFiles}