File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
samples/file-picking/teams-picker/src/components Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export default function App() {
5656 < Route path = "/termsofuse" element = { < TermsOfUse /> } />
5757 < Route path = "/tab" element = { < Tab /> } />
5858 < Route path = "/config" element = { < TabConfig /> } />
59- < Route path = "/picker-dialog" element = { < PickerDialog host = { window } /> } />
59+ < Route path = "/picker-dialog" element = { < PickerDialog /> } />
6060 < Route path = "*" element = { < Navigate to = { "/tab" } /> } > </ Route >
6161 </ Routes >
6262 ) }
Original file line number Diff line number Diff line change @@ -32,11 +32,7 @@ const params = {
3232// For this sample we hard code it, you can get it various ways in your application
3333const baseUrl = "https://{tenant}-my.sharepoint.com" ;
3434
35- export interface PickerDialogProps {
36- host : Window ;
37- }
38-
39- export function PickerDialog ( props : PickerDialogProps ) {
35+ export function PickerDialog ( ) {
4036
4137 const [ contentWindow , setContentWindow ] = useState < Window | null > ( null ) ;
4238
You can’t perform that action at this time.
0 commit comments