fix some typos
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/// An opaque `Dict`. The type is opaque because the module maintains some
|
||||
/// invariant, namely: there's only one occurence of a given key in the dictionnary.
|
||||
/// invariant, namely: there's only one occurrence of a given key in the dictionary.
|
||||
pub opaque type Dict<key, value> {
|
||||
inner: List<(ByteArray, value)>,
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fn substract(x, y) {
|
||||
fn subtract(x, y) {
|
||||
x - y
|
||||
}
|
||||
|
||||
test flip_1() {
|
||||
flip(substract)(3, 2) == -1
|
||||
flip(subtract)(3, 2) == -1
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ export default function App({ validators }: AppProps) {
|
||||
|
||||
const success = await lucid!.awaitTx(txHash);
|
||||
|
||||
// Wait a little bit longer so ExhuastedUTxOError doesn't happen
|
||||
// Wait a little bit longer so ExhaustedUTxOError doesn't happen
|
||||
// in the next Tx
|
||||
setTimeout(() => {
|
||||
setWaitingLockTx(false);
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Head } from "$fresh/runtime.ts";
|
||||
import { Handlers, PageProps } from "$fresh/server.ts";
|
||||
|
||||
import App from "~/islands/App.tsx";
|
||||
import Oneshot from "~/islands/Oneshot.tsx";
|
||||
|
||||
import { readValidators, Validators } from "~/utils.ts";
|
||||
|
||||
@@ -43,7 +43,7 @@ export default function Home({ data }: PageProps<Data>) {
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<App validators={validators} />
|
||||
<Oneshot validators={validators} />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user