Skip to content

Commit

Permalink
removing URLs from readme (#290)
Browse files Browse the repository at this point in the history
* removing URLs from readme

* run yarn format

* rm package lock

* small change in url

* linter fix

* linting fix

* linting fix
  • Loading branch information
horeaporutiu authored Jun 18, 2024
1 parent c2d5196 commit 4eaab37
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/jwt-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"license": "MIT",
"scripts": {
"build": "next build",
"build-temp-disabled": "next build",
"start": "next dev",
"lint": "next lint"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/jwt-auth/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { PropsWithChildren } from "react";
import Script from "next/script";
import "../assets/style.css";

import { MiroSDKInit } from "../components/SDKInit";
import { MiroSDKInit } from "../components/SdkInit"; // Corrected the casing of the file name

export default function RootLayout({ children }: PropsWithChildren) {
return (
Expand Down
2 changes: 1 addition & 1 deletion examples/terms-modal-banner-dynamodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Once you have finished all of the steps related to AWS in the [developer tutoria
appName: Terms Modal Banner DynamoDB
sdkVersion: SDK_V2
sdkUri: >-
https://dynamodb-miro-terms-banner-12345.s3.amazonaws.com/webassets/app.html
https://<your-s3-bucket-url>/webassets/app.html
scopes:
- identity:read
```
Expand Down
2 changes: 1 addition & 1 deletion examples/terms-modal-banner-s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Once you have finished all of the steps related to AWS in the [developer tutoria
appName: Terms Modal Banner S3
sdkVersion: SDK_V2
sdkUri: >-
https://s3-miro-terms-banner-12345.s3.amazonaws.com/webassets/app.html
https://<your-s3-bucket-url>/webassets/app.html
scopes:
- identity:read
```
Expand Down
4 changes: 3 additions & 1 deletion examples/webhooks-manager/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ export default function Main({
});

window.miro.board.ui.on("icon:click", openPanel);
return () => window.miro.board.ui.off("icon:click", openPanel);
return () => {
window.miro.board.ui.off("icon:click", openPanel);
};
}, []);

async function createWebhook(e: FormEvent<HTMLFormElement>) {
Expand Down

0 comments on commit 4eaab37

Please sign in to comment.